RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebContainerComponentHelper.Create Constructor

Creates an instance of TWebContainerComponentHelper.

Pascal
constructor Create(AComponent: TComponent; AOnGetDefaultComponentList: TGetComponentListEvent; AOnSetDefaultComponentList: TSetComponentListEvent);
C++
__fastcall TWebContainerComponentHelper(TComponent * AComponent, TGetComponentListEvent AOnGetDefaultComponentList, TSetComponentListEvent AOnSetDefaultComponentList);

Applications do not create instances of TWebContainerComponentHelper. The component that uses TWebContainerComponentHelper so that it can manage a set of Web items instantiates TWebContainerComponentHelper

AComponent is the component that uses TWebContainerComponentHelper to manage its list of Web items and to interact with the component streaming system. 

AOnGetDefaultComponentList is an event handler that AComponent supplies to provide the read implementation of the DefaultWebComponents property. It is assigned as the event handler for OnGetDefaultComponentList

AOnSetDefaultComponentList is an event handler that AComponent supplies to provide the write implementation of the DefaultWebComponents property. It is assigned as the event handler for OnSetDefaultComponentList

 

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