Siemens SINUMERIK 840DE sl Commissioning Manual page 863

Basesoftware and operating software
Hide thumbs Also See for SINUMERIK 840DE sl:
Table of Contents

Advertisement

1.11.4
Gesture processing
Tag message
If the scaling factor is greater than 1.0, the image in the display area will be moved. If the factor
is 1.0, this finger gesture can be used for browsing through a list of images, for example. In
this case, the parser sends a message to the form, which can be evaluated in the message
tag.
The $message_par1 message parameter contains the Item_Data value of the control. The
$message_par2 message parameter signals the gesture's direction of movement.
The $message_par2 can accept the following values:
● -1 roll left
● 1 roll right
● -2 roll up
● 2 roll down
Example
...
...
<let name="image_box_pict_name" type="string" ></let>
<let name="pictindex" />
<let name="image_box_list" type="string" dim="4">
"pic1.bmp",
"pic2.bmp",
"pic3.bmp",
"pic4.bmp",
</let>
...
...
<control name="image_view" xpos="100" ypos="123" width="300"
height="200" fieldtype="imagebox" refvar="image_box_pict_name"
hotlink="true" >
<property item_data="1000" />
<property setzoommode="false" />
</control>
...
...
...
<!--
-1 roll left
1 roll right
-2 roll up
2 roll down
-->
<message>
<if condition="$message_par1 == 1000">
Easy XML
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1
Generating user dialogs
1.11 Multitouch operation
145

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents