advr.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
SCREEN Object Details
  Summary  Details  Example                Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
 SCREEN.property[= setting%]
 SCREEN.method[arguments]
 
 Usage Note
   ■ The SCREEN object is accessed by including the keyword SCREEN when
     referencing applicable methods or properties. For example:
 
         SCREEN.Height
 
   ■ Use the SCREEN object with the HIDE method to hide all visible forms
     with a single line of code. Use the SCREEN statement to set the screen
     mode back to 0 before forms are displayed. In some cases, you will also
     need to use the WIDTH statement to reset the screen width to 80 columns.
     For example:
 
         SUB Form_Click ()
             SCREEN.HIDE               ' Hide any visible forms
             SCREEN 7
             COLOR 7, 4
             CIRCLE STEP(0, 0), 100, , , , 5 /25
             SLEEP 2
             WIDTH 80
             SCREEN 0
             SCREEN.SHOW               ' Redisplay any visible forms
         END SUB
 
     See: HIDE Method  SCREEN Statement  WIDTH Statement