Config Gui Off

From BR Wiki
Revision as of 16:02, 7 May 2013 by Laura (talk | contribs) (Created page with "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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.

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.