Skip to main content

TdxTileControlGroupDragBeginEvent Type

The procedural type of the tile group drag initiation event.

Declaration

TdxTileControlGroupDragBeginEvent = procedure(Sender: TdxCustomTileControl; AInfo: TdxTileControlDragGroupInfo; var AAllow: Boolean) of object;

Parameters

Name Type
Sender TdxCustomTileControl
AInfo TdxTileControlDragGroupInfo
AAllow Boolean

Remarks

The Sender parameter provides access to the Tile or Tile Bar control that raised the group drag initiation event. To access the control’s all class-specific members within a TdxTileControlGroupDragBeginEvent event handler, cast the parameter value to the TdxTileControl or TdxTileBar class. Call the Sender.ClassName or Sender.ClassType function to identify the actual control’s type.

The AInfo parameter provides access to the information that you can use to identify the dragged group (the AInfo.Group property) and its original position (the AInfo.BeginIndex property) within the Sender control. Refer to the TdxTileControlDragGroupInfo class description for more details.

Pass False or True as the AAllow parameter to forbid or allow an end-user to start dragging the AInfo.Group tile group.

The control’s OnGroupDragBegin event references the TdxTileControlGroupDragBeginEvent procedural type.

See Also