RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDBGrid.CanEditModify Method

Indicates whether the current column of the grid can be edited.

Pascal
function CanEditModify: Boolean; override;
C++
virtual __fastcall Boolean CanEditModify();

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.
 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!