Movicon Help on Line - Rel. 11.7.1301
Movicon provides a Gesture function for performing operations by dragging the mouse, such as changing pages or scrolling display window lists, during runtime. These operations can be performed in touch screen systems using fingers and in non touch screen systems where operations can be performed by dragging the mouse while keeping left button pressed down. The Gesture function can be activated with the project's "Enable Gestures" property. The type of Gesture movements supported are as follows:
right to left movement
left to right movement
In touch screen systems movements are done by tapping and pressing the monitor with a finger or a touch screen pen and dragging in one direction or the other. In non touch screen systems, these movements are done by clicking left mouse button and keeping it pressed to drag in the same way.
Gestuality can be applied to Screens for changing pages or to display windows for scrolling lists.
Gestuality in Screens
Two types of operations can be performed by using gestures in screens: change pages and scroll pages when scroll bar is active. The fact that one operation is performed rather than another, considering both movements are the same, depends on the speed with which the movement is carried out. The movement used for changing pages is quite fast and precise, whereas the scrolling movement is slower. Below are a list of commands which have been provided according to movement type used:
right to left movement: a "fast" movement will change page to the next one. The page that will load will be the one which has an ID following on from active window's ID. Therefore this command works only if screens have each been given an unique ID in succession that is not zero. A "slow" movement will scroll page towards the right but this will only work with the screen's horizontal scroll bar displayed.
left to right movement: a "fast"movement will change page to the previous one. The page that will load will be the one which has an ID previous to the active window's ID. Therefore this command works only if screens have each been given an unique ID in succession that is not zero. A "slow" movement will scroll page towards the left but this will only work with the screen's horizontal scroll bar displayed.
|
In order for screen gestuality to work correctly, a portion of the screen must be left free from objects in order to receive focus. For example, the gestures will not work if objects like Displays, Buttons, Display windows and generally any object that can execute commands and receive focus. Gestuality will work in Static and animated objects, such as rectangles with animated background color, and zones populated with any object when invisible. |
Gestuality in Window Objects
By using Gestuality in Display Window type objects, such as the Historical Log Window, Data Logger Window etc., lists can be scrolled fast and slowly. This naturally will only work if the scroll bars have been enabled to allow scrolling of this kind. What counts in operations like this counts is how fast or slow the scrolling movement is performed. Fast scrolling requires a quick and sharp gesture which is the opposite required for slow scrolling. The commands used for these types of guestures are:
right to left movement: this movement scrolls lists towards the right. This only works if the horizontal scroll bar is displayed in the window to allow scrolling.
left to right movement: this movement scrolls lists towards the left. This only works if the horizontal scroll bar is displayed in the window to allow scrolling.
top to bottom movement: this movement scrolls lists towards the top. This only works if the vertical scroll bar is displayed in the window to allow scrolling.
bottom to top movement: this movement scrolls lists towards the bottom top. This only works if the vertical scroll bar is displayed in the window to allow scrolling.
Gesture sensitivity/Gesture Speed Rate allows you to customize the system's response to performed movements. For instance, a Display window scroll movement can be more or less slower depending on the rate set. The higher the value set, the faster the scroll will be. The Gesture speed rate can be set in value percentages, from 0% to 100%, using the "Gesture Speed Rate" property. In this case, the set percentage will be applied in respect to the absolute speed rate that can be set in the appropriated "MaxGestureSpeedRate" registry key. The default value is 200, but it may be necessary to change it due to the fact that this parameter may have a different rate value according to the device being used, above all in Windows CE panels.
Multitouch - Zoom management in Development and Runtime mode
You can zoom in and out by scrolling the multitouch screen with two figures if the project's Gestures property has been enabled. This can be done during both in runtime and development mode.
The "Gesture speed rate" value from the project's Gestures settings allows you to define zooming accuracy: the higher the value the more accurate and refined the zoom will perform according to the multitouch display hardware being used.