RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebContainedComponentHelper.Create Constructor

Creates an instance of TWebContainedComponentHelper.

Pascal
constructor Create(AComponent: TComponent; AOnParentChanged: TNotifyEvent);
C++
__fastcall TWebContainedComponentHelper(TComponent * AComponent, TNotifyEvent AOnParentChanged);

Applications do not create instances of TWebContainedComponentHelper. The component that uses TWebContainedComponentHelper so that it can appear as a child item in a TWebComponentList object instantiates TWebContainedComponentHelper

AComponent is the component that uses TWebContainedComponentHelper to implement those properties and methods that allow it to appear in a TWebComponentList object. 

AOnParentChanged is an event handler that AComponent supplies so that it can update itself when it is moved to the list of a different parent component. This becomes the event handler for the OnParentChanged event. 

 

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