RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TControlRequirements.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; override;
C++
virtual __fastcall Boolean IsVariableDefined(const AnsiString AName);

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) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!