Creating Web Form and Components Layout

A web form is a main tool for creating a visual interface of web applications. The interface is created by placing various components on a web form. Each web form has a corresponding unit, which contains form class description. Class name should match the value of the name property of the web form.

Web forms are based on the React framework written in the JavaScript language and CSS Flexbox technologies. Application code of web forms is written in the Fore language. Properties and methods of web forms as repository objects are described by the IWebForm interface, as development environment components - by the IWebFormComponent interface.

Web forms by default open modally relative to the place where they are opened. The maximum number of modal web forms opened relative to each other is five. To change web form work mode, use the modal property that is available in the design mode.

NOTE. Working with web forms is available only in the web application. When working with web forms take into account work features.

Create a new web form

Edit existing web form

To toggle between the web form and the macro window, press F7/SHIFT+F7 or click the / buttons in the right part of the development environment window.

To display the components panel, click the button in the left part of the development environment window. To place a component on a web form, click the component on the components panel, then click on the form where it should be added. The Properties/Events panel is used to set component properties and event handlers. The list of available properties includes only the properties that can be changed in the web form design mode. The component code contains only the properties that can be changed on web form execution.

The web form has different properties and methods available in the design mode and execution mode.

NOTE. The flexDirection, aligments, justifyContent properties affect position of the components, for which the position property is set to relative.

Properties:

Methods:

To visually format a web form, use components.

See also:

Developing User Application | Web Form Work Features | Web Form Components