TdxLayoutGroupButtonOptions.Buttons Property
Provides access to the action button collection in a layout group.
Declaration
property Buttons: TdxLayoutGroupButtons read; write;
Property Value
Type | Description |
---|---|
TdxLayoutGroupButtons | A layout group button collection. |
Remarks
You can create any number of action buttons in a layout group to execute custom code in response to clicks on these buttons. Call the Buttons
.Add function to create a new button. The Buttons
.Items property provides indexed access to all created buttons in the layout group.
Refer to the TdxLayoutGroupButtons class description for detailed information on group button collection management.
Action Button Functionality
To execute custom code in response to a click on an action button, handle its OnClick event. You can use the button’s Glyph and Hint properties to assign a glyph and define a hint.
Refer to the TdxLayoutGroupButton class description for detailed information on all available options.
Limitations
Action buttons are hidden in a layout group if one of the following conditions is met:
- The layout group is nested in a tabbed or hidden layout group.
- The layout group’s ShowBorder property is set to
False
.