RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAbstractControlRequirements.IsVariableDefined Method

Indicates whether a variable with the specified name has already been added to the list of control requirements.

Pascal
function IsVariableDefined(const AName: string): Boolean; virtual; abstract;
C++
virtual __fastcall Boolean IsVariableDefined(const AnsiString AName) = 0;

IsVariableDefined returns true if the control requirements object already lists a variable with the specified name. That is, IsVariableDefined returns true if the DefineVariable method has been called to define a value for the specified variable, and false otherwise. 

AName is the name of the variable. 

 

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