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.
VIEW PRINT Statement Details
  Summary  Details  Example                Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
 VIEW PRINT [toprow% TO bottomrow%]
 
 Usage Notes
   ■ References to VIEW PRINT are not allowed with forms and cause Visual
     Basic to generate the error message, "Invalid when forms are showing."
     Use the HIDE method to hide any visible forms or controls before
     executing this statement. See: HIDE Method
 
   ■ Without the arguments toprow% and bottomrow%, the VIEW PRINT statement
     initializes the whole screen area as the text viewport.
 
   ■ The number of text lines on the screen depends on the screen mode and
     whether or not Visual Basic was started with the /H option.
     See: VBDOS Command-Line Options