RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TControlRequirements.IsFunctionDefined Method

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

Pascal
function IsFunctionDefined(const AName: string): Boolean; override;
C++
virtual __fastcall Boolean IsFunctionDefined(const AnsiString AName);

IsFunctionDefined returns true if the control requirements object already lists a function with the specified name. That is, IsFunctionDefined returns true if the DefineFunction method has been called to define the specified function, and false otherwise. 

AName is the name of the function. 

 

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