1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-01 13:50:36 +00:00
QB64-PE/internal/help/_MOUSESHOW__111111111.txt
Roland Heyder aeb9c0668b Updates help files for use with new Wiki parser (2nd try)
Note: Many files were removed (not yet existing/empty pages). The parser will try to download them on demand and will auto-generate text for missing pages (eg. most _gl pages).
2022-05-21 00:18:31 +02:00

57 lines
2.4 KiB
Plaintext

{{QBDLDATE:05-20-2022}}
{{QBDLTIME:23:09:31}}
{{DISPLAYTITLE:_MOUSESHOW}}
The [[_MOUSESHOW]] statement displays the mouse cursor and can change its shape.
{{PageSyntax}}
: [[_MOUSESHOW]] [{{Parameter|cursorShape$}}]
{{PageDescription}}
* Simply use the statement whenever [[_MOUSEHIDE]] has been used previously.
* In '''version 1.000 and up''' the following {{Parameter|cursorShape$}} can be displayed:
:_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 "DEFAULT" can be used after a mouse cursor statement above was previously used.
* This statement will also disable [[_MOUSEMOVEMENTX]] or [[_MOUSEMOVEMENTY]] relative mouse movement reads.
* The mouse cursor will not interfere with any print or graphic screen changes in '''QB64'''.
===QBasic/QuickBASIC===
* _MOUSEHIDE statements do not accumulate like they did with [[CALL ABSOLUTE|ABSOLUTE]] or [[INTERRUPT]] in QBasic.
{{PageExamples}}
''Example 1:'' '''QB64 1.000 and up''' allow special cursors to be displayed by using special string parameters:
{{CodeStart}}
{{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
{{CodeEnd}}
: '''Note:''' There is no hourglass, stopwatch or spinning colorful wheel in the list. The fact is that these typically only appear in a program when something has gone terribly wrong and the program has crashed or frozen.
{{PageSeeAlso}}
* [[_MOUSEHIDE]]
* [[_MOUSEINPUT]]
* [[_MOUSEMOVE]]
* [[_MOUSEX]], [[_MOUSEY]]
* [[_MOUSEBUTTON]]
* [[_MOUSEMOVEMENTX]], [[_MOUSEMOVEMENTY]]
* [[_DEVICES]], [[_DEVICE$]]
{{PageNavigation}}