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

  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...

Function
mouse.fingerDriven

Language: MioScript
Product: MioFactory


Syntax

mouse.fingerDriven(isFingerDriven)


Parameters

BOOLisFingerDrivenSet to true if the application is to be used with a touch screen, false otherwise.
By default when the application starts, the mouse is not set as finger driven.


Return value

No value is returned.


Description

For the applications to be used with touch screens, call this function with the parameter set to true.
When the mouse is set as finger driven, the windows are easier to move on the screen with a finger (faster to react).

You can also call this function to make it easier to move windows in a non finger-driven application.
In that case, no movable windows should not contains area where the user must click as the window may move immediately when the mouse button is pressed, whenever it is to click on a button or to actually move the window.




MioScript Sample Code

mouse.fingerDriven(true)