Convert Setup Form from FixChars to VarChars
- Last UpdatedNov 14, 2022
- 1 minute read
Many forms will convert satisfactorily by appending the VarChars keyword to the existing 'Setup form' command, but before performing any actual edits, you can use the new FMSYS object method.
!!FMSYS.SetDefaultFormLayout( mode is STRING )
To force the default layout mode for Setup form to 'VarChars'. Any existing forms you show after this setting will be using VarChars layout mode, so you can see if they are satisfactory or not. There is also the method !!FMSYS.DefaultFormLayout( ) is STRING, so that you can query the current default layout mode, in case you have forgotten.
The most notable effect of using VarChars is the reduction of size for gadgets that use literal text strings as part of their definition. This can upset the alignment of gadgets on an existing form when changing to VarChars.