Mioplanet Documentation Center
Resources and Help
HomeProductsMioScriptJavaScriptTechNotesPHP
   Home | MioScript | mouse... SEARCH    

mouse...

  Functions
mouse.areButtonsSwapped
mouse.button.left.click
mouse.button.left.down
mouse.button.left.up
mouse.button.right.click
mouse.button.right.down
mouse.button.right.up
mouse.cursor
mouse.fingerDriven
mouse.ID.cursor
mouse.ID.isOverWindow
mouse.ID.x
mouse.ID.y
mouse.isOverMio
mouse.load
mouse.pos
mouse.rightClickMode
mouse.visible
mouse.x
mouse.y

  Events
event.mouse:click
event.mouse:dblclick
event.mouse:down
event.mouse:enter
event.mouse:exit
event.mouse:global:activate
event.mouse:global:left:dblClick
event.mouse:global:left:down
event.mouse:global:left:up
event.mouse:global:move
event.mouse:global:right:dblClick
event.mouse:global:right:down
event.mouse:global:right:up
event.mouse:move
event.mouse:right:click
event.mouse:up
event.mouse:wheel:down
event.mouse:wheel:up

  MioScript Reference
> Statements
app...
browser...
dialog...
disk...
draw...
extern...
filename...
keyboard...
menu...
mio...
mouse...
num...
path...
pushButton...
reg...
RS232...
sci...
screen...
shortcut...
sound...
str...
system...
time...
var...
window...

mouse...

Language: MioScript
Product: MioFactory


Functions and events to control or get feedback from the mouse or touch screens.

Tracking the mouse position and buttons status


mouse.ID.x, mouse.ID.y
mouse.ID.isOverWindow, mouse.isOverMio

event.mouse:click, event.mouse:dblclick, event.mouse:down, event.mouse:up
event.mouse:move
event.mouse:enter, event.mouse:exit
mouse.areButtonsSwapped

Tracking the mouse wheel


To react when the user rolls the mouse wheel, declare the following events in your application.

event.mouse:wheel:down, event.mouse:wheel:up.

Tracking the mouse when not over a window


It is possible to track the mouse when the mouse is not over a window owned by the application.

mouse.x, mouse.y
event.mouse:global:move
event.mouse:global:left:down, event.mouse:global:left:up, event.mouse:global:left:dblClick
event.mouse:global:right:down, event.mouse:global:right:up, event.mouse:global:right:dblClick

Controlling the mouse


You can define a mouse cursor, move the mouse at a specified location, or hide the mouse.
Use carefuly those functions.

mouse.ID.cursor, mouse.cursor
mouse.load
mouse.pos
mouse.visible
mouse.rightClickMode, mouse.areButtonsSwapped