RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAbstractControlRequirements.DefineVariable Method

Adds the declaration of a variable to those that this control requirements object stores.

Pascal
procedure DefineVariable(const AName: string; const AValue: string; AAdapter: Boolean); virtual; abstract;
C++
virtual __fastcall DefineVariable(const AnsiString AName, const AnsiString AValue, Boolean AAdapter) = 0;

DefineVariable stores the name and value of a variable declaration. 

AName is the name of the variable. 

AValue is the value to assign to the variable. 

AAdapter indicates whether this variable is the one that declares the adapter object whose field a control represents or whose set of fields a control group represents. 

 

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