RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAbstractWebContext.FindVariableContainer Method

Returns an instance of a Web data module, given its class name.

Pascal
function FindVariableContainer(const AIdent: string): TComponent; virtual; abstract;
C++
virtual __fastcall TComponent * FindVariableContainer(const AnsiString AIdent) = 0;

Call FindVariableContainer to obtain a reference to a Web data module given the name of its implementation class. If an instance of the specified class already exists, FindVariableContainer returns that instance. Otherwise, if the specified class represents a registered Web module class, FindVariableContainer creates an instance of the specified class and returns the new instance. 

AIdent is the name of a registered Web data module class. This class is declared in code that the Web data module wizard generates. 

 

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