TTMSFNCDataGridCanSizeColumnEvent Event Type
Fired before each width change while the user sizes a column with the mouse.
API unit family: TMSFNCDataGridRenderer
Remarks
Fires repeatedly during the drag; keep handlers fast.
Parameters
| Name | Description |
|---|---|
Sender |
The grid renderer. |
AColumn |
Index of the column being sized. |
ASize |
The proposed new width; can be changed, for example to enforce a minimum or maximum. |
ACanSize |
Defaults to True. Set to False to reject this width change. |