Vcl.DBGrids.TCustomDBGrid.CanEditModify
Delphi
function CanEditModify: Boolean; override;
C++
DYNAMIC bool __fastcall CanEditModify();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Vcl.DbGrids.pas Vcl.DBGrids.hpp |
Vcl.DBGrids | TCustomDBGrid |
Description
Indicates whether the current column of the grid can be edited.
Data-aware grids use CanEditModify internally to determine whether to allow the user to edit the current cell. CanEditModify returns true if the field in the current column can be edited. CanEditModify returns false if the field cannot be edited. If the dataset is not in edit mode, CanEditModify will attempt to put it in edit mode.
Note: CanEditModify returns false when the current field is a binary large object (BLOB) field. BLOB fields can only be edited through the clipboard or by streaming.