Difference between revisions of "SCREENY"

From QB64 Wiki
Jump to navigation Jump to search
imported>SMcNeill
(style guidelines)
imported>SMcNeill
(-)
 
(One intermediate revision by the same user not shown)
Line 9: Line 9:
{{PageDescription}}
{{PageDescription}}
* Function returns the current program window's upper left corner row position on the desktop.
* 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]].
* 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]]




Line 21: Line 22:


{{PageSeeAlso}}
{{PageSeeAlso}}
* [[_SCREENX]]
* [[_SCREENIMAGE]]
* [[_SCREENIMAGE]]
* [[_SCREENCLICK]]
* [[_SCREENCLICK]]
* [[_SCREENPRINT]]
* [[_SCREENPRINT]]
* [[_SCREENMOVE]]
* [[_SCREENMOVE]]
* [[_SCREENX]]




{{PageNavigation}}
{{PageNavigation}}

Latest revision as of 11:41, 16 October 2017

The _SCREENY function returns the current row pixel coordinate of the program window on the desktop.


Syntax

positionY& = _SCREENY


Description


Examples

Example: Clicks and opens program window header menu:

_SCREENMOVE _MIDDLE _SCREENCLICK _SCREENX + 10, _SCREENY + 10 PRINT "Hello window!"


See also



Navigation:
Keyword Reference - Alphabetical
Keyword Reference - By Usage
Main Wiki Page