ConsoleCursor()
Syntax
ConsoleCursor(Height)Description
Changes the display of the cursor, which is the indicator used to show where the next displayed character will be drawn. This function allows you to change the height of the cursor.
Parameters
Height The new height of the cursor indicator. This value can be zero (for an invisible cursor) or range from 1 to 10 for the height of the cursor. Currently, 3 values are available: 1 : Underline cursor (default) 5 : Mid-height cursor 10: Full-height cursor
Return value
None.
Remarks
By default the cursor is a flashing underline in consoles under the Windows OS. Note that you might need to make the console window full-screen to see the true effect of this function.
The console has to be in graphical mode, see EnableGraphicalConsole().
Example
If OpenConsole() EnableGraphicalConsole(1) For CursorHeight = 0 To 10 ConsoleCursor(CursorHeight) PrintN("Press return to increase cursor size") Input() Next PrintN("Press return to exit") Input() EndIf
See Also
EnableGraphicalConsole()
Supported OS
Windows