[Overview][Constants][Types][Classes][Procedures and functions][Index] |
EditingColumn sets or resets the column being edited in the control.
Source position: dbgrids.pas line 454
protected procedure TCustomDBGrid.EditingColumn( |
aCol: Integer; |
Ok: Boolean |
); |
aCol |
|
Ordinal column number for the column with the active editor control. |
Ok |
|
True if the column number is invalid and should be reset to the uninitialized value (-1). |
EditingColumn is a procedure used to set or reset the column being edited in the control .
aCol indicates the ordinal column number and is stored internally for use in other methods of the control. Ok indicates that editing is active when set and causes the DataLink to set its Modified flag to True. When Ok contains False the internal column number is reset to its default value indicating that no column is currently being edited.
EditingColumn is used in the implementation of other methods in the grid control such as UpdateData, EditorCancelEditing, EditorIsReadOnly, and DoExit.
|
UpdateData is used to perform pending updates for the selected cell. |
|
|
EditorCancelEditing cancels pending changes and disables the editor. |
|
|
EditorIsReadOnly determines if the editor can be enabled for the selected cell in the control. |
|
|
DoExit closes the editor and the datalink for the control. |
Version 3.2 | Generated 2024-02-25 | Home |