RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebContainerComponentHelper.OnSetDefaultComponentList Event

Occurs when TWebContainerComponentHelper needs to assign the value of DefaultWebComponents.

Pascal
property OnSetDefaultComponentList: TSetComponentListEvent;
C++
__property TSetComponentListEvent OnSetDefaultComponentList;

The component that uses TWebContainerComponentHelper assigns an event handler for OnSetDefaultComponentList when it creates the TWebContainerComponentHelper instance. This event handler provides the underlying write implementation of the DefaultWebComponents property. 

If the component that uses TWebContainerComponentHelper does not provide an OnSetDefaultComponentList event handler, then the value of the DefaultWebComponents can't be changed. 

 

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