The GroupTileButton object

The GroupTile object allows the user to customize the size of display areas. The object can also contain a title bar, which can be used to move or display additional information. With the upcoming conzept 16 version 5.7.08, the title bar can be expanded to include buttons.


These buttons are GroupTileButton objects. This dynamically created object is located in the title bar of the GroupTile object and is able to display icons. If several GroupTileButton objects are displayed in the title bar, they are positioned next to each other. The icon that was inserted last is always placed to the right of the previous icons. If the mouse pointer is positioned over the icon, the display of the pointer changes and a hand symbol becomes visible. GroupTileButton. This makes it possible to react to click events of the user.

Figure 1
sub Create_GroupTileButton
(
  aGroupTile            : handle;
  aName                 : alpha;
  aImageTile            : int;
  opt aIcon             : alpha;
)
  local
  {
    tButton : handle;
  }
{
  // Create GroupTileButton
  tButton # WinCreate(_WinTypeGroupTileButton);

  // Transfer properties
  tButton->wpName       # aName;
  tButton->wpImageTile  # aImageTile;
  tButton->wpIcon       # aIcon;

  aGroupTile->WinAdd(tButton);
}

The function above creates a GroupTileButton object (see Fig. 1) and loads it into the GroupTile object. Optionally, it is possible to assign a user-defined icon to the GroupTileButton.


Properties of the object:
  • wpCustom – Used to store user-defined data
  • wpDisabled – Controls the activity of the object
  • wpHelpTip – Stores the text for the HelpTip
  • wpIcon – Storing the name of the symbol for the object
  • wpImageTile – Constant for standard symbol
  • wpMenuSeparator – Display button as separator
  • wpName – Name for unique identification of the object
  • wpVisible – Controls the visibility of the object

The size of the icon is dynamically adjusted based on the size of the title bar and depends on the settings of the operating system.

In the upcoming version, it will also be possible to customize the display of the title bar. For this purpose, the GroupSplit object will receive the property wpThemed. This property is a logical type, which is activated with True. Once this property has been set, the title bar is displayed in the style of the operating system.

Property wpThemed to True

Klicken Sie hier, um die Nutzungsbedingungen für unseren Blog zu lesen.

Leave a Reply

Your email address will not be published. Required fields are marked *

Leave the field below empty!

Requests, questions or feedback are welcome:

Terms of use of the comment function in the blog

1. General information

Vectorsoft AG (‘Provider’) provides a public blog for Internet users (‘Users’) on the vectorsoft.de website. The public blog is intended for the exchange of information and ideas. Users who participate with contributions and comments undertake to comply with the blog terms of use and are responsible for the accuracy, appropriateness and freedom from legal infringements of their contributions. By using the comment function in our blog, you accept these terms of use.

2. Netiquette

We ask you to refrain from personal attacks and provocations based on other opinions. Please argue objectively and maintain a constructive discussion culture. Your comment should always be related to the topic in question in order to avoid digressions into other topics. Posting the same comment or several similar comments more than once is not permitted.

3. Prohibition of illegal content

By submitting your comment, you confirm that you are not violating any copyrights or other rights of third parties. Inciting, racist statements, instructions for criminal offences and their glorification, depictions of violence, pornographic content and statements that violate personal rights are prohibited.

4. No advertising

The use of the comment function is not permitted for commercial or party-political purposes. Advertising contributions of any kind will be deleted immediately.

5. Details of the name

When entering your name, pay attention to the principles mentioned above.

6. Source references

If you intend to publish quotes or contributions from third parties, please indicate the respective sources and explain how they relate to the blog post.

7. Violation of the terms of use

Posts that violate this policy will be deleted immediately. If you notice any violations yourself, please send us the link to the comment in question by e-mail to . We expressly point out that we will exclude individual users in the event of repeated or serious violations of these terms of use.

As of: Sept. 2024

Get your Trial Version now!

Test yeet free of charge

IHRE EVALUIERUNGSLIZENZ - JETZT ANFORDERN!

TESTEN SIE DIE CONZEPT 16 VOLLVERSION - UNVERBINDLICH und KOSTENFREI

Subscribe to our newsletter

[cleverreach_signup]
WordPress Cookie Notice by Real Cookie Banner