RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomQueryForm Class

TCustomQueryForm is the base class for Web items that generate HTML forms for letting users enter application-defined values.

Pascal
TCustomQueryForm = class(TWebForm, IQueryForm);
C++
class TCustomQueryForm : public TWebForm, public IQueryForm;

Use TCustomQueryForm as a base class for components that generate an HTML form that displays application-defined values and submits them to an InternetExpress application. TCustomQueryForm introduces properties for specifying the method and target URL of messages submitted by the form. 

When building an HTML form, TCustomQueryForm makes use of content generated by the components listed in its WebComponents property. These components can include Web items that display application-defined values (TQueryFieldGroup) or that generate buttons to operate on those values (TQueryButtons). They can also include components that manage the layout of other HTML controls (TLayoutGroup). 

In order to let an InternetExpress page producer use the generated HTML query form, TCustomQueryForm inherits support for the IWebContent interface from TWebForm

Do not create instances of TCustomQueryForm. Instead, create descendants of TCustomQueryForm, such as TQueryForm

 

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