1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-05 21:40:25 +00:00
QB64-PE/internal/help/_PRINTMODE_(function).txt
2016-03-18 08:36:04 -03:00

29 lines
938 B
Plaintext

{{DISPLAYTITLE:_PRINTMODE (function)}}
The '''_PRINTMODE''' function returns the present {{KW|_PRINTMODE}} status as a numerical value from 1 to 3 in graphic screen modes only.
{{PageSyntax}}
:::current_print_mode = '''_PRINTMODE'''[({{Parameter|image_handle}})]
{{Parameters}}
* If no brackets and ''image_handle'' parameter are given, the current [[_DEST|destination]] [[SCREEN]] page or image is assumed.
* If the handle value enclosed in brackets is 0 then the current program [[SCREEN]] page is assumed.
{{PageDescription}}
* 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'''
{{PageSeeAlso}}
* [[_PRINTMODE]]
* [[_LOADFONT]]
* [[_NEWIMAGE]]
* [[_PRINTSTRING]]
{{PageNavigation}}