FONT_ALPHAFLD
WSupported on Windows
|
|
|
|
The FONT_ALPHAFLD environment variable sets the default font for all alphanumeric input fields that do not have their own font specification.
Value
The name of a font palette entry.
Discussion
FONT_ALPHAFLD can be used to more easily migrate your application to proportional fonts.
When you use any of the FONT_ initialization settings and use the I_FLDMOD subroutine to change the type of a field (for example, from alpha to numeric), be aware that the corresponding font isn’t automatically applied. To update the font, use the D_FLD_FONT option for I_FLDMOD.
Setting location
The environment or the [synergy], [dbr], or [myprog] section of synergy.ini (where myprog is any .dbr file).
Used by
UI Toolkit
See also
- FONT environment variable for defining font palette entries
- Using fonts on Windows for information on the font defaulting hierarchy
Examples
In the synergy.ini file,
[myapp] FONT_ALPHAFLD=my_alpha_font