TCustomDBGrid.EditingColumn procedure
EditingColumn sets or resets the column being edited in the
control.Declaration
procedure EditingColumn(aCol: Integer; Ok: Boolean)Arguments
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). |
Description
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.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
