RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebContainedComponentHelper.SetWebParent Method

Sets the value of the WebParent property.

Pascal
procedure SetWebParent(Value: TComponent);
C++
__fastcall SetWebParent(TComponent * Value);

SetWebParent moves the associated component to the component list of a new parent. To do so, it removes the associated component from the current parent's list of Web items, adds it to the new Web parent's list of Web items, and then generates an OnParentChanged event. 

Value is the new index of the associated component, where 0 specifies the first position, 1 specifies the second position, and so on. 

Value is the new Web parent. 

 

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