[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'DBGrids' (#lcl)

TCustomDBGrid.EditingColumn

EditingColumn sets or resets the column being edited in the control

Declaration

Source position: dbgrids.pas line 452

protected procedure TCustomDBGrid.EditingColumn(

  aCol: Integer;

  Ok: Boolean

);

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

TCustomDBGrid.UpdateData

  

UpdateData is used to perform pending updates for the selected cell.

TCustomDBGrid.EditorCancelEditing

  

EditorCancelEditing cancels pending changes and disables the editor

TCustomDBGrid.EditorIsReadOnly

  

EditorIsReadOnly - returns True if the Editor has Read Only status

TCustomDBGrid.DoExit

  

DoExit closes the editor and the datalink for the control

The latest version of this document can be found at lazarus-ccr.sourceforge.net.