Siemens SINUMERIK 840DE sl Commissioning Manual page 875

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

Advertisement

<property backgroundpicture="f:\appl\pbutton.png"
alignment="stretch" transparent="#ffffff"/>
<caption alignment="left" >This is my first touch button!</caption>
<property picture="sk_circ_grind_cg.png" alignment="left"
TextAlignedToPicture="true" scaled="true"/>
<property backgroundpicture="pbutton.png" alignment="stretch"
transparent="#ffffff"/>
1.12.3
Switch on/off
A switch control is a graphic element that signals one of two states by means of an icon. This
control can be operated by touch or by using a mouse.
The state adopted can be stored in a reference variable or the change of state can be
determined in a function assigned to the control. The function is assigned with the function
attribute in the control tag.
The alignment attribute enables the vertical or horizontal alignment of the button.
This control has no standard design. If no icons are assigned to the control, only the bounding
box and switch position (shown by a dot) are displayed.
Syntax
<control name="name" xpos = "x position" ypos="y position"
width="width" height="height" fieldtype="switch" alignment="hr/vr">
<property left_position="value" />
<property right_position="value" />
</control>
Easy XML
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1
Generating user dialogs
1.12 Configuring your own buttons
157

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents