2016-03-18 11:36:04 +00:00
|
|
|
{{DISPLAYTITLE:_SCREENY}}
|
2017-10-10 14:55:21 +00:00
|
|
|
The [[_SCREENY]] function returns the current row pixel coordinate of the program window on the desktop.
|
2015-08-02 12:12:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
{{PageSyntax}}
|
2017-10-10 14:55:21 +00:00
|
|
|
: {{Parameter|positionY&}} = [[_SCREENY]]
|
2015-08-02 12:12:44 +00:00
|
|
|
|
|
|
|
|
2017-10-10 14:55:21 +00:00
|
|
|
{{PageDescription}}
|
2016-03-18 11:36:04 +00:00
|
|
|
* Function returns the current program window's upper left corner row position on the desktop.
|
2017-10-10 14:55:21 +00:00
|
|
|
* Use [[_DESKTOPWIDTH]] and [[_DESKTOPHEIGHT]] to find the current user's Windows desktop resolution to adjust the position with [[_SCREENMOVE]].
|
2019-04-15 01:15:33 +00:00
|
|
|
* [[Keywords_currently_not_supported_by_QB64#Keywords_Not_Supported_in_Linux_or_MAC_OSX_versions|Keyword not Supported in Linux or MAC versions]]
|
2015-08-02 12:12:44 +00:00
|
|
|
|
|
|
|
|
2017-10-10 14:55:21 +00:00
|
|
|
{{PageExamples}}
|
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
|
2019-04-15 01:15:33 +00:00
|
|
|
{{Cl|PRINT}} "Hello window!" '' ''
|
2016-03-18 11:36:04 +00:00
|
|
|
{{CodeEnd}}
|
|
|
|
|
|
|
|
|
2017-10-10 14:55:21 +00:00
|
|
|
{{PageSeeAlso}}
|
2019-04-15 01:15:33 +00:00
|
|
|
* [[_SCREENX]]
|
2015-08-02 12:12:44 +00:00
|
|
|
* [[_SCREENIMAGE]]
|
2016-03-18 11:36:04 +00:00
|
|
|
* [[_SCREENCLICK]]
|
|
|
|
* [[_SCREENPRINT]]
|
2015-08-02 12:12:44 +00:00
|
|
|
* [[_SCREENMOVE]]
|
|
|
|
|
|
|
|
|
2019-04-15 01:15:33 +00:00
|
|
|
{{PageNavigation}}
|