RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebForm.GetDefaultWebComponents Method

Returns nil (Delphi) or NULL (C++).

Pascal
function GetDefaultWebComponents: TWebComponentList; override;
C++
virtual __fastcall TWebComponentList GetDefaultWebComponents();

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

In TWebForm, GetDefaultWebComponents returns nil (Delphi) or NULL (C++) because Web forms do not any set of items that appear by default. 

 

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