Siemens A31003-51730-U103-7619 Benutzerhandbuch
The Elements of a DCO-Script
For internal use only
07/2010
5-68
OScAR-Pro Customized Operator, User Manual
BHB_DCO_05.fm
Controls
5.9.5
Special attributes of Edit fields
Edit fields have the following additional attributes:
Attribute
Description
Font
Field indicating the font currently selected for the text of the
Edit field.
To edit the font, font size or font style, simply make a double-
click on this line to open the corresponding user window with
the name "Font" (see Section 4.6.4, "Edit fonts").
Edit field.
To edit the font, font size or font style, simply make a double-
click on this line to open the corresponding user window with
the name "Font" (see Section 4.6.4, "Edit fonts").
Border style
Combobox to choose the style of the border surrounding the
Edit field.
Here you can:
Edit field.
Here you can:
●
none, if you do not want the Edit field to have a border,
●
simple, if you want the Edit field to be surrounded by a
simple black line, or
simple black line, or
●
sunken, if you want the Edit field to have a two-color bor-
der.
der.
Text color
Editable combobox to choose the color for the text of the Edit
field.
Here you can:
field.
Here you can:
●
enter a color value,
●
click "Select color" and use the next user window to
choose a color for the text (see Section 4.6.5, "Edit col-
ors"), r
choose a color for the text (see Section 4.6.5, "Edit col-
ors"), r
●
assign a Constant, Parameter or Variable of the data type
color.
color.
The color of the text of an Edit field can be edited during the
execution of the DCO-Script with the command „The Instruc-
tion "SetEditTextColor"“.
execution of the DCO-Script with the command „The Instruc-
tion "SetEditTextColor"“.
Text
Editable combobox to enter a default text for the Edit field.
Here you can:
Here you can:
●
a string in keeping with the type that is selected for the
Edit field (see below) or
Edit field (see below) or
●
assign a Constant, Parameter or Variable of the data type
string.
string.
The default text of an Edit field can be edited during the execu-
tion of the DCO-Script with the command „The Instruction
"SetEditText"“.
tion of the DCO-Script with the command „The Instruction
"SetEditText"“.
Table 5-53
Special attributes of Edit fields