_PRINTMODE (function) - QB64 Wiki

_PRINTMODE (function)

From QB64 Wiki

Jump to: navigation, search

The _PRINTMODE function returns the present _PRINTMODE status as a numerical value from 1 to 3 in graphic screen modes only.


Syntax:

current_print_mode = _PRINTMODE[(image_handle)]


Parameters:

  • If no brackets and image_handle parameter are given, the current destination SCREEN page or image is assumed.
  • If the handle value enclosed in brackets is 0 then the current program SCREEN page is assumed.


Description:

  • Returns a status value from 1 to 3 designating the current mode setting:
1: mode is _KEEPBACKGROUND
2: mode is _ONLYBACKGROUND
3: mode is _FILLBACKGROUND (default)
  • The _PRINTMODE statement and function can only be used in graphic screen modes, NOT SCREEN 0


See also:



Navigation:
Go to Keyword Reference - Alphabetical
Go to Keyword Reference - By usage
Go to Main WIKI Page
Views
  • Page
  • Discussion
  • View source
  • History
Personal tools
  • Log in
Toolbox
  • What links here
  • Related changes
  • Special pages
  • Printable version