10-01-2023, 04:08 AM
But...
https://qb64phoenix.com/qb64wiki/index.php/SCREENMOVE
However it would be pretty easy to replicate the functionality.
https://qb64phoenix.com/qb64wiki/index.php/SCREENMOVE
Quote:Description:
:
Keyword not supported in Linux versions
However it would be pretty easy to replicate the functionality.
Code: (Select All)
SUB screenmiddle ()
DIM AS INTEGER dw, dh, ww, hh
dw = _DESKTOPWIDTH
dh = _DESKTOPHEIGHT
ww = _WIDTH
hh = _HEIGHT
ww = (dw \ 2) - (ww \ 2)
hh = (dh \ 2) - (hh \ 2)
_SCREENMOVE ww, hh
END SUB