Managing the Default Form Layout Mode
- Last UpdatedNov 14, 2022
- 1 minute read
The FMSYS object provides the methods:
.SetDefaultFormLayout(layout is STRING)
.DefaultFormLayout( ) is STRING
which allow you to set and query the default layout mode.
This can be used to help test any existing appware which is using layout form !!formname . . . ,in either mode to determine which forms need layout adjustment.
For example:
!!FMSYS.SetDefaultFormLayout('VarChars')
This will cause any forms (without a VarChars or FixChars keyword) which are loaded and shown to use the new variable character widths layout. If you kill and re-show a previously shown (unqualified) form, it will have the new layout, so it is easy to compare the difference.