1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-07-03 08:51:22 +00:00
qb64/internal/help/_MOUSESHOW.txt

51 lines
2.1 KiB
Plaintext
Raw Normal View History

2016-03-18 11:36:04 +00:00
{{DISPLAYTITLE:_MOUSESHOW}}
2017-10-10 14:55:21 +00:00
The [[_MOUSESHOW]] statement displays the mouse cursor and can change its shape.
{{PageSyntax}}
2017-10-10 14:55:21 +00:00
: [[_MOUSESHOW]] [{{Parameter|cursorShape$}}]
2017-10-10 14:55:21 +00:00
{{PageDescription}}
2021-01-12 23:28:26 +00:00
* Simply use the statement without a parameter whenever [[_MOUSEHIDE]] has been used previously.
* The following {{Parameter|cursorShape$}} can be displayed:
2019-04-15 01:15:33 +00:00
::_MOUSESHOW "LINK" will display an upward pointing hand cursor used to denote hypertext
::_MOUSESHOW "TEXT" will display the I cursor often used in text entry areas
::_MOUSESHOW "CROSSHAIR" will display a crosshair cursor
::_MOUSESHOW "VERTICAL" will display vertical arrow cursor for movement
::_MOUSESHOW "HORIZONTAL" will display horizontal arrow cursor for movement
::_MOUSESHOW "TOPLEFT_BOTTOMRIGHT" will display bottom diagonal arrow cursor for movement
::_MOUSESHOW "TOPRIGHT_BOTTOMLEFT" will display bottom diagonal arrow cursor for movement
::_MOUSESHOW "WAIT" will display an hourglass or spinning circle used to indicate the program is busy with a task
::_MOUSESHOW "HELP" will display a question mark cursor used to denote more information available
2019-04-15 01:15:33 +00:00
::_MOUSESHOW "DEFAULT" can be used after a mouse cursor statement above was previously used.
2017-10-10 14:55:21 +00:00
{{PageExamples}}
2021-01-12 23:28:26 +00:00
''Example 1:'' Special cursors can be displayed by using special string parameters:
2017-10-10 14:55:21 +00:00
{{CodeStart}}
2019-04-15 01:15:33 +00:00
{{Cl|_MOUSESHOW}} "default": {{Cl|_DELAY}} 0.5
{{Cl|_MOUSESHOW}} "link": {{Cl|_DELAY}} 0.5 'a hand, typically used in web browsers
{{Cl|_MOUSESHOW}} "text": {{Cl|_DELAY}} 0.5
{{Cl|_MOUSESHOW}} "crosshair": {{Cl|_DELAY}} 0.5
{{Cl|_MOUSESHOW}} "vertical": {{Cl|_DELAY}} 0.5
{{Cl|_MOUSESHOW}} "horizontal": {{Cl|_DELAY}} 0.5
{{Cl|_MOUSESHOW}} "topleft_bottomright": {{Cl|_DELAY}} 0.5
{{Cl|_MOUSESHOW}} "topright_bottomleft": {{Cl|_DELAY}} 0.5
{{Cl|_MOUSESHOW}} "wait": {{Cl|_DELAY}} 0.5
{{Cl|_MOUSESHOW}} "help": {{Cl|_DELAY}} 0.5
2016-03-18 11:36:04 +00:00
{{CodeEnd}}
: '''Note:''' The hourglass and question mark cursors are available in v1.5 and above.
2016-03-18 11:36:04 +00:00
{{PageSeeAlso}}
* [[_MOUSEHIDE]]
* [[_MOUSEINPUT]]
* [[_MOUSEMOVE]]
* [[_MOUSEX]], [[_MOUSEY]]
* [[_MOUSEBUTTON]]
* [[_MOUSEMOVEMENTX]], [[_MOUSEMOVEMENTY]]
* [[_DEVICES]], [[_DEVICE$]]
2019-04-15 01:15:33 +00:00
{{PageNavigation}}