1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-01 13:50:36 +00:00
QB64-PE/internal/help/_SCREENY__1111111.txt
Roland Heyder aeb9c0668b Updates help files for use with new Wiki parser (2nd try)
Note: Many files were removed (not yet existing/empty pages). The parser will try to download them on demand and will auto-generate text for missing pages (eg. most _gl pages).
2022-05-21 00:18:31 +02:00

35 lines
1,016 B
Plaintext

{{QBDLDATE:05-20-2022}}
{{QBDLTIME:23:10:40}}
{{DISPLAYTITLE:_SCREENY}}
The [[_SCREENY]] function returns the current row pixel coordinate of the program window on the desktop.
{{PageSyntax}}
: {{Parameter|positionY&}} = [[_SCREENY]]
{{PageDescription}}
* Function returns the current program window's upper left corner row position on the desktop.
* Use [[_DESKTOPWIDTH]] and [[_DESKTOPHEIGHT]] to find the current user's Windows desktop resolution to adjust the position with [[_SCREENMOVE]].
* [[Keywords_currently_not_supported_by_QB64#Keywords_Not_Supported_in_Linux_or_MAC_OSX_versions|Keyword not Supported in Linux or MAC versions]]
{{PageExamples}}
''Example:'' Clicks and opens program window header menu:
{{CodeStart}}{{Cl|_SCREENMOVE}} {{Cl|_SCREENMOVE|_MIDDLE}}
{{Cl|_SCREENCLICK}} {{Cl|_SCREENX}} + 10, {{Cl|_SCREENY}} + 10
{{Cl|PRINT}} "Hello window!"
{{CodeEnd}}
{{PageSeeAlso}}
* [[_SCREENX]]
* [[_SCREENIMAGE]]
* [[_SCREENCLICK]]
* [[_SCREENPRINT]]
* [[_SCREENMOVE]]
{{PageNavigation}}