RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebContainerComponentHelper.DefaultWebComponents Property

Lists the Web items that the associated component uses by default if the application does not explicitly assign any Web items.

Pascal
property DefaultWebComponents: TWebComponentList;
C++
__property TWebComponentList DefaultWebComponents;

Use DefaultWebComponents to access the list of default Web items that can be used when no items have been explicitly assigned. 

TWebContainerComponentHelper does not actually store this list. It leaves that task to the component that uses TWebContainerComponentHelper. Instead, TWebContainerComponentHelper uses two events, OnGetDefaultComponentList and OnSetDefaultComponentList for reading and writing this list. The associated component that uses TWebContainerComponentHelper assigns event handlers to these two events, thereby providing the implementation for this property. 

 

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