Example: LAYOUT in custform.per

This example shows how to set the form style.

Form custform.per:
 1 LAYOUT (WINDOWSTYLE="mystyle")
 2 GRID
     ...
Note:
  • Line 1 Defines a WINDOWSTYLE attribute with the style name "mystyle".
The "mystyle" style attribute can then be defined in an external .4st file, for example to define the background color of the window:
<StyleList>
  <Style name="Window.mystyle">
     <StyleAttribute name="windowType" value="normal" />
     <StyleAttribute name="backgroundColor" value="cyan" />
  </Style>
  ...
</StyleList>

The .4st files use XML format.