XVCL example - HTML Form

The purpose of this example is to illustrate how to use XVCL to create an HTML document with an HTML form and various HTML controls on it.

Press F9 to generate HTML content...

Components/classes used in this example

Key properties/technologies illustrated in this example

Implementation details

This example creates a template of an HTML document (FHTML). It then creates an instance of TJvxHTMLForm class and inserts it into the body of the HTML document. Several instances of TJvxHTMLInput class are created with different values of InputType attribute to generate edit box, combo box, checkbox, radio buttons and submit and reset buttons. Instances of TJvxHTMLDiv class are used to generate labels for controls.

After that an instance of TJvxXMLGenerator class is used to generate HTML content using the template. Generated content is saved in Output.htm file.