TTMSFNCDataGrid.OnCanDragHeaderGroup Event
Occurs before a header group is dragged; use it to allow or block the drag operation.
API unit family: TMSFNCDataGrid
Declaring type: TTMSFNCDataGrid
Inherited from: TTMSFNCCustomDataGrid
Syntax
OnCanDragHeaderGroup: TTMSFNCDataGridCanDragHeaderGroupEvent;
Parameters
| Name | Description |
|---|---|
Sender |
Grid that fired the event. |
AColumn |
Zero-based column index being dragged. |
ACanDrag |
Set to False to prevent dragging the column. |