RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TInplaceEdit.EditCanModify Method

Determines whether the user can edit the Text.

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

EditCanModify is called automatically when the user tries to edit the value of Text. EditCanModify calls the CanEditModify method of the grid to determine whether the current cell of the grid should be edited. When EditCanModify returns true, the user is permitted to edit the text. When EditCanModify returns false, the user is prevented from editing the text. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!