Skip to main content

TdxCustomLayoutGroupButton Class

The base class for layout group buttons.

Declaration

TdxCustomLayoutGroupButton = class(
    TCollectionItem
)

Remarks

A standard layout group can display the following buttons:

  • Action Button. You can associate this button with any custom functionality.

  • Expand button. A click on this button shrinks or expands the group.

  • Check box. This button allows users to manage the group’s content availability.

This class provides the following members that allow you to:

  • Switch the button between enabled and disabled states (Enabled).

  • Replace the button’s glyph with a custom image (Glyph).

  • Specify the button’s size (Height and Width).

  • Associate the button with a textual tip (Hint).

  • Assign a numeric identifier to the button (Tag).

  • Manage the button visibility (Visible).

  • Implement a custom response to a button click (OnClick).

Note

A layout group’s check box ignores certain TdxCustomLayoutGroupButton class members that are not compatible with its functionality.

Inheritance

TObject
TPersistent
TCollectionItem
TdxCustomLayoutGroupButton
See Also