Config Gui Off
(Redirected from GUI off)
Beginning with 4.00, the CONFIG GUI OFF command was introduced to retain compatibility with prior releases. This has often been referred to as the "Console Mode". In this mode, text must be a Fixed Font, and 2D objects such as grids and combo boxes are not available. This mode is often viewed as a "DOS Window" by users, and does not offer a typical Windows experience.
Use this mode to run "Legacy Code" that is not compatible with the CONFIG GUI ON or GUI ON mode, because it allows:
- window bleedthrough
- PRINT to screen or window - with scrolling
- LINPUT
- only non-proportional fonts
- only fixed fonts show with STATUS FONTS
Each program or even sections of your program may switch GUI modes.
Take the following example:
00010 PRINT NEWPAGE 00020 EXECUTE "CONFIG GUI OFF" 00030 PRINT "Hit Any Key to Continue" 00040 LET KSTAT$(1) 00050 EXECUTE "CONFIG GUI ON" 00060 PRINT FIELDS "24,5,CC 75,PS": "Hit any Key to Continue" 00070 LET KSTAT$(1)
This program switches between GUI modes.
- Remember that switching GUI modes does not convert the previously displayed information. It is often a good practice to Print Newpage when switching GUI modes.