Navigation: thinBasic Modules > Console > Console_SetCursorSize |
![]() ![]() ![]() |
Description
Sets the size of the cursor for the console screen.
Syntax
n = Console_SetCursorSize(nSize)
Returns
Return a number
If the function fails, the return value is zero.
If the function succeeds, the return value is nonzero.
Parameters
Name |
Type |
Optional |
Meaning |
nSize |
Numeric |
No |
The size value must be between 1 and 100 and it's the percentage of the character cell that is filled by the cursor. |
Remarks
The cursor appearance varies, ranging from completely filling the cell (nSize=100), to showing up as a
horizontal line at the bottom of the cell (nSize=1) .
Restrictions
See also
Console Module, Console_GetCursorSize, Console_SetCursorPosition
Examples
Console_SetCursorSize(100) ' the most biggest cursor
© 2004-2008 thinBasic. All rights reserved. | Version 1.7.0.0 | Web Site: http://www.thinbasic.com |