$GUI
Specify the GUI driver, which determines whether the application will run in Windows or character mode.
$GUI
{=
}
$MSW
| $CHR
| MSW:
| CHR:
You can use the ProcScript function $gui to test for the GUI driver in use.
Values
$MSW
—path of the Windows GUI driver.MSW:
—Windows GUI driver.$CHR
—path of the character mode driver.CHR:
—character mode driver.
Defaults
Assignment file: | client assignment files |
Section: | [SETTINGS] |
Default value: | None |
Description
The $GUI setting determines whether the application runs in character mode or with a Windows graphical user interface, for this application session.
You can use the ProcScript function $gui to test for the GUI driver in use, allowing you to customize processing for applications which may run under both.
Setting $GUI overrides the GUI driver selected during installation.
Character Mode
In character mode, proportional font spacing and pixel-based screen painting are not possible. Some types of widget are unsupported, in which case they are displayed as Unifields.
The path to the character mode driver is
$CHR
. If, for example, you want to run an application in character mode, while the
default GUI driver selected at installation time was $MSW
, you could use the
following assignment:
$GUI = $CHR