Skip to main content

TdxTileControlGroupDragOverEvent Type

The procedural type of the dragged group dropping event.

Declaration

TdxTileControlGroupDragOverEvent = procedure(Sender: TdxCustomTileControl; AInfo: TdxTileControlDragGroupInfo; var AAccept: Boolean) of object;

Parameters

Name Type
Sender TdxCustomTileControl
AInfo TdxTileControlDragGroupInfo
AAccept 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 identify the currently dragged group (the AInfo.Group property) and its current drop position (the AInfo.CurrentIndex property) within the Sender control. Refer to the TdxTileControlDragGroupInfo class description for details.

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

The control’s OnGroupDragOver event references the TdxTileControlGroupDragOverEvent procedural type.

See Also