TTMSFNCDataGridRenderer.CancelEditing Method
Closes the active in-place editor without writing its value back to the cell.
API unit family: TMSFNCDataGridRenderer
Declaring type: TTMSFNCDataGridRenderer
Syntax
function CancelEditing(AFocusGrid: Boolean = True): Boolean;
bool __fastcall CancelEditing(bool AFocusGrid = true);
Parameters
| Name | Description |
|---|---|
AFocusGrid |
When True, returns focus to the grid after the editor is closed. |
Returns
True when the editor was closed or no editor was active; False when closing was refused (for example by an OnBeforeCloseInplaceEditor handler).