Skip to main content
Table of Contents

TTMSFNCDataGridData.OnAfterApplyAutoFill Event

Fired after an accepted AutoFill value is written to a target cell.

API unit family: TMSFNCDataGridData Declaring type: TTMSFNCDataGridData

Syntax

FMX.TMSFNCDataGridData.hppPascalC++
OnAfterApplyAutoFill: TTMSFNCDataGridDataAfterApplyAutoFillEvent;
__property TTMSFNCDataGridDataAfterApplyAutoFillEvent OnAfterApplyAutoFill = {read=FOnAfterApplyAutoFill, write=FOnAfterApplyAutoFill};

Remarks

The event is observational: changing its value parameters cannot undo the completed write. It is not fired when OnBeforeApplyAutoFill rejects the target cell.

Parameters

Name Description
Sender Data object 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 Full rectangular range being filled.
TargetCell Specific cell that was written.
Direction Direction in which the fill extends from the source range.
OldValue Value held by TargetCell before the write.
NewValue Value written to TargetCell.