1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-09 22:25:12 +00:00
QB64-PE/internal/help/_SCREENY.txt

30 lines
769 B
Plaintext
Raw Normal View History

2016-03-18 11:36:04 +00:00
{{DISPLAYTITLE:_SCREENY}}
The '''_SCREENY''' function returns the current row pixel coordinate of the program window on the desktop.
{{PageSyntax}}
2016-03-18 11:36:04 +00:00
:: positionY& = [[_SCREENY]]
2016-03-18 11:36:04 +00:00
* Function returns the current program window's upper left corner row position on the desktop.
* Use [[_SCREENIMAGE]] to find the current user's Windows desktop resolution to adjust the position with [[_SCREENMOVE]].
2016-03-18 11:36:04 +00:00
''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}}
''See also:''
* [[_SCREENIMAGE]]
2016-03-18 11:36:04 +00:00
* [[_SCREENCLICK]]
* [[_SCREENPRINT]]
* [[_SCREENMOVE]]
* [[_SCREENX]]
{{PageNavigation}}