RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebControlGroup.WebFieldControls Property

Lists the components that generate HTML controls for the Web control group.

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

WebFieldControls lists the components that generate the related HTML controls that the Web control group assembles into a single unit. Each of these components supports the IWebContent interface, and some can contain their own list of Web items that help them generate their content.  

The type of items that can be added to the WebFieldControls list are restricted by the CanAddClass method. TWebControlGroup does not restrict the items in the list at all, but descendant classes add restrictions to limit the list to related types of controls.

Note: For example, on Windows, TDataNavigator limits the list to button generators that are descendants of TDataSetButton or TXMLButton.
At design time, add components to the WebFieldControls property by bringing up the Web page editor for the containing page producer. Select the Web control group in the editor, and use the editor to add child controls. 

 

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