RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebForm.SetDefaultWebComponents Method

Prevents an application from trying to assign a default set of Web items on the form.

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

SetDefaultWebComponents is implemented by all Web items that use sub Web items when generating HTML. (TWebForm uses the subitems in the WebComponents property). This method assigns a list of Web items that are used by default when an application does not explicitly assign child Web items. 

In TWebForm, SetDefaultWebComponents does nothing with the list supplied as the AList parameter. This is because web forms do not have default items. 

 

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