TTMSFNCDataGridDataBeforeApplyAutoFillEvent Event Type
Fired before the computed AutoFill value is written to an individual target cell, allowing the value to be changed or the write to be cancelled.
API unit family: TMSFNCDataGridData
Parameters
| Name | Description |
|---|---|
Sender |
Grid that fired the event. |
SourceCells |
Rectangular range of source cells used as the fill seed. |
SourceValues |
Flat array of cell values read from SourceCells. |
TargetCells |
The full rectangular range being filled. |
TargetCell |
The specific cell about to be written. |
Direction |
Direction in which the fill is extending from the source. |
NewValue |
The value about to be written; override to substitute a different value. |
Accept |
Set to False to skip writing this cell and leave its current value unchanged. |