Generating user dialogs
1.6 XML identifier
Tag identifier
FORM
FORM Continued
HMI_RESET
22
Meaning
The tag contains the description of a user dialog. The relevant tags are described in the
section on generating menus and dialog forms.
Syntax:
<FORM name="<dialog name>" color="#ff0000">
Attributes:
● color
Background color of the dialog form (color coding, see Chapter Color coding
(Page 42))
–
Default white
● name
Identifier of the form
● type
cycle , which identifies a user cycle screen form
Permissible value is
● xpos
X-position of the top left corner of the dialog box (optional)
● ypos
Y position of the top left corner (optional)
● width
Extension in the X direction (in pixels) (optional)
● height
Extension in the Y direction (in pixels) (optional)
With the AUTOSCALE_CONTENT attribute, you can define how the controls of a form will
behave at different screen resolutions. By default, the controls are automatically adapted
to the screen resolution already set. If you would like to control the positioning and dimen‐
sioning yourself, set value OFF for the attribute in the Form tag.
Attribute:
autoscale_content
Values:
● on
The coordinates of the controls are automatically adapted to the screen resolution
(default)
● off
The coordinates of the controls are used unchanged
Example:
<form name="main_form" autoscale_content="off">
...
...
...
</form>
The tag triggers an HMI restart.
Interpretation is stopped after this instruction.
Programming Manual, 10/2015, 6FC5397-3DP40-5BA3
Easy XML