Developer

TNxAcceptEditEvent

Unit: NxCustomGrid6.pas (Sources\Next Grid)

TNxAcceptEditEvent = procedure (Sender: TObject; ACol, ARow: Integer; var Text: WideString; var Accept: Boolean; var CanLeave: Boolean) of object;

Parameters


ACol
Integer
Identify column index of cell being edited
ARow
Integer
Identify row index of cell being edited
Text
Integer
Specifies text to be assigned back to InplaceEdit if CanLeave parameter is set to False.
Accept
Integer
Specifies whether InplaceEdit's text will be assigned into cell.
CanLeave
Integer
Specifies whether grid will exit from editing state, or user will be forced to enter valid value into InplaceEdit.

See also