RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAbstractControlRequirements Class

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

Pascal
TAbstractControlRequirements = class;
C++
class TAbstractControlRequirements;

WebForm

Components that generate HTML controls to represent the fields of an adapter (TAdapterControlGroup and TAdapterDataDisplay descendants) use descendants of TAbstractControlRequirements. The descendants of TAbstractControlRequirements store the variable and function declarations the adapter form must include before the control group can assemble HTML controls for the fields of the adapter it represents. 

TAbstractControlRequirements introduces methods to 

Store a specified function or variable (along with its value). 

Query whether the function or variable declaration has already been added to the list of requirements. 

Store an indication of whether the control requires that it be contained in a multipart form. 

TAbstractControlRequirements is abstract or, in C++ terminology, pure virtual. It does not implement any of the methods it declares. WebSnap applications use TAbstractControlRequirements descendants such as TControlRequirements, which provide implementations for these methods. 

 

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