RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebContainedComponentHelper.OnParentChanged Event

Occurs when the WebParent property changes.

Pascal
property OnParentChanged: TNotifyEvent;
C++
__property TNotifyEvent OnParentChanged;

Components that use TWebContainedComponentHelper so that they can act as a child Web item in a hierarchy of Web items assign an event handler to OnParentChanged.  

The associated component uses TWebContainedComponentHelper to implement the IWebComponent interface. This interface can be used to change the value of WebParent. By assigning an OnParentChanged event handler, the associated component can update itself when it moves from one parent item to another. 

 

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