RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TControlRequirements Class

TControlRequirements lists the variables and functions that the controls in an adapter form require to generate their HTML.

Pascal
TControlRequirements = class(TAbstractControlRequirements);
C++
class TControlRequirements : public TAbstractControlRequirements;

WebForm

Adapter forms create instances of TControlRequirements to store information about variables and functions that are needed for generating an HTML form to display the controls they contain. Components that generate HTML controls to represent the fields of an adapter (TAdapterControlGroup and TAdapterDataDisplay descendants) use the TControlRequirements instance that the form provides to store these variable and function declarations.  

Typically, applications do not need to create or use TControlRequirements instances. Component writers that create Web items for an adapter form (that is, components that generate HTML controls to reflect the fields of an adapter) use the methods of TControlRequirements when implementing the GetControlRequirements method. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!