_CONSOLECURSOR

From QB64 Phoenix Edition Wiki
Revision as of 13:58, 4 October 2024 by RhoSigma (talk | contribs) (Created page with "{{DISPLAYTITLE:_CONSOLECURSOR}} The '''_CONSOLECURSOR''' statement is used to switch the text cursor in Console Windows off/on or change its size. {{PageSyntax}} : _CONSOLECURSOR {{Parameter|{_HIDE|_SHOW}}}[, {{Parameter|size%}}] {{PageParameters}} * {{Parameter|_HIDE}} or {{Parameter|_SHOW}} switch the text cursor off or on respectively, the default at program start is on. * The optional {{Parameter|size%}} is specified as percentage value (0-100) of the con...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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}[, 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