RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebComponentList Class

TWebComponentList maintains a list of Web item components.

Pascal
TWebComponentList = class(TPersistent, IWebComponentContainer);
C++
class TWebComponentList : public TPersistent, public IWebComponentContainer;

WebComp

TWebComponentList provides the structure for the hierarchy of Web items that generate HTML documents in a WebSnap or InternetExpress application. At the top of the hierarchy is a page producer (TINetXPageProducer or TAdapterPageProducer) or an adapter. The page producer assembles an HTML document, or the adapter provides information and performs tasks on behalf of an adapter page producer or server-side script. To perform their tasks, the root objects use a set of helper components. Each of these components, in turn, uses one or more helper components, and so on. Each component that uses helper components maintains a list of its helper components. That list is a TWebComponentList object. 

Each component in the list must support the IWebComponent interface. TWebComponentList uses this interface to coordinate the objects it manages. In addition, children of a page producer should support the IWebContent interface. IWebContent allows the parent component to extract HTML generated by its children. 

Use the properties and methods of TWebComponentList to  

Add or delete the components in the list. 

Locate and access components in the list. 

Rearrange components in the list. 

Access the parent component that uses the list. 

 

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