QB64.com

QB64 is a modern extended BASIC programming language that retains QBasic/QuickBASIC 4.5 compatibility and compiles native binaries for Windows, Linux, and macOS.

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

Syntax

positionY& = _SCREENY

Description

Example(s)

Clicks and opens program window header menu:


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

See Also