Difference between revisions of "cursor.hide"
Jump to navigation
Jump to search
(As I found out by myself, and as (https://education.ti.com/html/webhelp/EG_TINspireLUA/EN/content/libraries/cursorlib/show.htm) states, cursor.hide and cursor.show only work on handhelds) |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
It hides the cursor (mouse pointer) on the screen.<br /> | It hides the cursor (mouse pointer) on the screen.<br /> | ||
NB : Even with TouchPad devices, the user can't have it shown again, until [[cursor.show]]() is called.<br /> | NB : Even with TouchPad devices, the user can't have it shown again, until [[cursor.show]]() is called.<br /> | ||
+ | |||
+ | This function will be ignored if not executed on a handheld operator.<br /> | ||
{{Since|3.0}} | {{Since|3.0}} | ||
Line 11: | Line 13: | ||
== Example == | == Example == | ||
− | <syntaxhighlight>if (isPlaying | + | |
+ | <syntaxhighlight>if (isPlaying) then | ||
cursor.hide() | cursor.hide() | ||
+ | else | ||
+ | cursor.show() | ||
end</syntaxhighlight> | end</syntaxhighlight> | ||
Latest revision as of 14:19, 26 November 2018
cursor.hide() is a function that is part of the cursor functions.
It hides the cursor (mouse pointer) on the screen.
NB : Even with TouchPad devices, the user can't have it shown again, until cursor.show() is called.
This function will be ignored if not executed on a handheld operator.
This has been introduced in TI-Nspire OS 3.0 (Changes).
Syntax
cursor.hide()
No arguments.
Example
if (isPlaying) then
cursor.hide()
else
cursor.show()
end
See also