RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAdapterSubComponent.SetWebParent Method

Introduces a method to associate this component with an adapter.

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

TAdapterSubComponent introduces SetWebParent as a virtual method for setting the read-only Adapter property. 

Value is the adapter component that acts as a parent to this collection. 

In TAdapterSubComponent, SetWebParent does nothing. Descendant classes override this method to set the Adapter property and populate the list with actions or fields appropriate to that adapter. 

 

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