RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAdapterSubComponent.FindVariable Method

Returns the item from this list with a specified variable name.

Pascal
function FindVariable(const AName: string): TComponent;
C++
__fastcall TComponent * FindVariable(const AnsiString AName);

FindVariable method is called from server-side script to locate a field or action with a specified name. This method is identical to the FindNamedVariable method, except that it is not virtual. Instead, FindVariable calls the virtual FindNamedVariable method. 

AName is a variable name. 

FindNamedVariable returns the item from the list with the specified variable name. If none of the items in the list have the name AName, FindNamedVariable returns nil (Delphi) or NULL (C++). 

 

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