RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBEdit.EditCanModify Method

Allows or disallows editing of the text depending on whether the dataset is in edit mode.

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

EditCanModify overrides the inherited method so that the control will only allow edits when the dataset is in edit mode. If the edit control should never allow edits, the ReadOnly property should be set.

Note: EditCanModify is a protected method. Applications cannot call it directly.
 

 

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