X4 Produktdokumentation

Structure of the Forms Editor

After opening an empty Form Component, the Forms Editor displays the following interface with the main areas:

image-20251202-081917.png

1

Tool area

List of controls that you can drag and drop into the form area.

2

Form details

Name of the X4 project and name of the .form file.

3

Form area

Here you design your form with controls from the tool area.

  • image-20260312-142115.png Configure Panel: Configure the form area

  • image-20260312-142136.png Configure Form: Configure the form

4

Toolbar

  • image-20260312-142158.png Undo (Ctrl+Z): Undo the last action

  • image-20260312-142214.png Redo (Ctrl+Y): Restore the last action

  • image-20260312-142231.png Preview: Preview the form

5

Configuration area

Here you define the attributes for the individual controls.

The area is activated when you select an element in the form area.

Configuring the form area

Use image-20260312-142249.png Configure Panel to configure the form area. When you select the icon, the configuration area looks like this:

image-20251202-083625.png

Element

Description

image-20260312-142735.png




Reset the user-defined configuration

image-20260312-142750.png




Select whether you want to select a static value or a data binding expression. When you select Data binding, the icon changes to image-20260312-142802.png .

Visible

Show or hide the entire form in the Web App

Typography

Define font and alignment attributes

Color

Define attributes for the background and foreground color

Configuring the form

Use image-20260312-142825.png Configure Form to configure the form. When you select the icon, the configuration area looks like this:

image-20251202-083849.png

Element

Description

Process


Select an X4 process from your X4 project

Note:

The drop-down list displays not only processes, but also process folders and resources contained in the processes, such as XML files.

View model


Select a .viewmodel file from your X4 project