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

TCustomDBGrid.GridCanModify

Indicates if the DataLink is active and allows editing in the grid control.

Declaration

Source position: dbgrids.pas line 483

protected function TCustomDBGrid.GridCanModify: Boolean;

Function result

True when the grid can be modified.

Description

GridCanModify indicates if the DataLink is active, and allows editing. The return value is True when all of the following conditions are satisfied:

GridCanModify is called from the KeyDown method, and used in the implementation of private methods in the grid control.


Version 3.2 Generated 2024-02-25 Home