RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBLookupControl.CanModify Method

Indicates whether the lookup control has rights to modify data.

Pascal
function CanModify: Boolean; virtual;
C++
virtual __fastcall Boolean CanModify();

CanModify is used internally to determine whether the lookup control is able to modify the value of the field specified by the DataField property. 

CanModify returns trueif  

The ReadOnly property is false. 

The ListActive property is true. 

The DataField property refers to a field that can be modified. 

Otherwise, CanModify returns false. 

 

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