Siemens A31003-51730-U103-7619 Manual Do Utilizador
BHB_DCO_05.fm
07/2010
OScAR-Pro Customized Operator, User Manual
OScAR-Pro Customized Operator, User Manual
5-71
For internal use only
The Elements of a DCO-Script
Controls
Text color
Editable combobox to choose the color for the title of the But-
ton.
Here you can:
ton.
Here you can:
●
enter a color value,
●
click "Select color" and use the next user window to
choose a color (see Section 4.6.5, "Edit colors"), or
choose a color (see Section 4.6.5, "Edit colors"), or
●
assign a Constant, Parameter or Variable of the data type
color.
color.
The color of the title of the Button can be changed during the
execution of the DCO-Script with the command „The Instruc-
tion "SetButtonTextColor"“.
execution of the DCO-Script with the command „The Instruc-
tion "SetButtonTextColor"“.
Image scaling in %
Editable combobox to define the scaling factor for the image on
a Button.
Here you can:
a Button.
Here you can:
●
enter a scaling factor in %,
●
select proportional to align the image with the size of the
Button in keeping with the Button's height/width propor-
tion, or
Button in keeping with the Button's height/width propor-
tion, or
●
select unproportional to align the image with the full
scale of the Static element irrespective of the actual
height/width proportion.
scale of the Static element irrespective of the actual
height/width proportion.
The image assigned to a Button can also be scaled during the
execution of the DCO-Script with the command „The Instruc-
tion "SetButtonPictureScal"“.
execution of the DCO-Script with the command „The Instruc-
tion "SetButtonPictureScal"“.
Image
Editable combobox to specify the image assigned to a Button.
Here you can:
Here you can:
●
enter a file name from the List of images,
●
select an image in the user window that opens as you
click the entry "Select image..." in the drop down list (see
Section 4.6.2, "Administration of the Image lists"), or
click the entry "Select image..." in the drop down list (see
Section 4.6.2, "Administration of the Image lists"), or
●
assign a Constant, Parameter or Variable of the data type
string.
string.
The image assigned to a Button can be changed during the ex-
ecution of the DCO-Script with the command „The Instruction
"SetButtonPicture"“.
ecution of the DCO-Script with the command „The Instruction
"SetButtonPicture"“.
Attribute
Description
Table 5-54
Special attributes of Buttons