RESIZE (function) - QB64 Wiki

RESIZE (function)

From QB64 Wiki

Revision as of 10:33, 15 March 2013 by Galleon (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The _RESIZE function returns -1 when a user has attempted to resize the program window and $RESIZE:ON was used to create the program.


Syntax:

IF _RESIZE THEN


  • The function returns -1 if a resize was attempted, after which _RESIZEWIDTH and _RESIZEHEIGHT return the new dimensions in pixels.
  • The $RESIZE:ON meta-command must be used so the program is created with a user resizable window.

See also:



Navigation:
Go to Keyword Reference - Alphabetical
Go to Keyword Reference - By usage
Go to Main WIKI Page