Generating user dialogs
1.6 XML identifier
Tag identifier
SOFTKEY
62
Meaning
The tag defines the properties and responses of a softkey.
Attributes:
● position
Number of the softkey. 1-8 horizontal softkeys, 9-16 vertical softkeys
The following attributes become effective from:
● type
Defines the property of the softkey.
user_controled - The script defines how the softkey is displayed
toggle_softkey - The softkey is displayed alternating between pressed and not pressed
● refvar
Should only be used in conjunction with toggle_softkey .
Reference variable, into which the actual softkey property is copied.
A variable, type "String" should be specified, which includes the properties pressed, not
pressed or locked (see tag state).
● picture
Using the attribute, a bitmap can be output left justified on the softkey. The complete path
name should be specified.
The number of text characters that can be displayed is reduced to the width of the bitmap.
The following additional actions can be defined within the softkey block:
● picturealignment
The image orientation is specified by this attribute.
The image is aligned with the left side of the softkey by default.
The following values can be specified for alignment:
–
top
Top edge
–
bottom
Bottom edge
–
left
Left edge
–
right
Right edge
–
center
Centered
● caption
Softkey text
● state
Should only be used in conjunction with user_controlled .
The tag assigns the required softkey display to the system.
Syntax:
<state type="<state>" />
The following strings can be specified:
–
notpressed
The softkey is displayed as being not pressed.
–
pressed
The softkey is displayed as being pressed.
Programming Manual, 10/2015, 6FC5397-3DP40-5BA3
Easy XML