RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebContainedContainerComponent.SetDefaultWebComponents Method

Sets the list of Web items that are used by default if an application does not explicitly assign child items to this object.

Pascal
procedure SetDefaultWebComponents(AList: TWebComponentList); virtual;
C++
virtual __fastcall SetDefaultWebComponents(TWebComponentList AList);

SetDefaultWebComponents assigns the default set of child items for this Web item. This default list can be retrieved by calling the GetDefaultWebComponents method. 

As implemented in TWebContainedContainerComponent, SetDefaultWebComponents does nothing. Descendant classes override this method to store the list of default items in a class-specific manner. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!