TdxTileControlGroupRemoveWithLastItemEvent Type
The procedural type of the automatic tile group removal event.
Declaration
TdxTileControlGroupRemoveWithLastItemEvent = procedure(Sender: TdxCustomTileControl; AGroup: TdxTileControlGroup; var AAllow: Boolean) of object;
Parameters
Name | Type |
---|---|
Sender | TdxCustomTileControl |
AGroup | TdxTileControlGroup |
AAllow | Boolean |
Remarks
The Sender parameter provides access to a tile control that raised a TdxTileControlGroupRemoveWithLastItemEvent event. To access type-specific members of the tile control via the Sender parameter, cast it to the TdxTileControl or TdxTileBar class.
The AGroup parameter provides access to the emptied tile group that is about to be deleted.
Assign False to the AAllow parameter to keep the AGroup tile group whose last item has been removed or deleted.
The tile control’s OnGroupRemoveWithLastItem event references the TdxTileControlGroupRemoveWithLastItemEvent procedural type.
See Also