Navigation:  thinBasic Modules > Console >

Console_SetCursorSize

Previous pageReturn to chapter overviewNext page

 

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