_CONSOLECURSOR

From QB64 Phoenix Edition Wiki
Jump to navigation Jump to search

The _CONSOLECURSOR statement is used to switch the text cursor in Console Windows off/on or change its size.


Syntax

_CONSOLECURSOR { _HIDE | _SHOW } [, size%]


Parameters

  • _HIDE or _SHOW switch the text cursor off or on respectively, the default at program start is on.
  • The optional size% is specified as percentage value (0-100) of the console line height.


Description


Availability


Examples

Example 1
Simple usage example how to use the _CONSOLECURSOR statement.
$CONSOLE:ONLY

_CONSOLECURSOR _HIDE
LINE INPUT "Input without cursor: ", a$
PRINT
_CONSOLECURSOR _SHOW , 50
LINE INPUT "Input with half line height cursor: ", a$
PRINT
_CONSOLECURSOR , 10
PRINT "press any key...";: SLEEP
SYSTEM


See also



Navigation:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage
Report a broken link