Siemens A31003-51730-U103-7619 5.11.29The Instruction SetButtonStaticBackColor, Instructions

Models: A31003-51730-U103-7619

1 336
Download 336 pages 29.09 Kb
Page 192
Image 192

The Elements of a DCO-Script

Instructions

5.11.29The Instruction "SetButtonStaticBackColor"

Description

Use this Function Instruction to change the background color of a Static element on a Button.

Arguments

Arguments

 

Description

 

 

 

Button

 

Editable combobox to define the Button whose Static element

 

 

you want to give a different background color.

 

 

Here you can:

 

 

enter the name of the Button direct or

 

 

select a Button from the list of all available Buttons.

 

 

 

Static element

 

Editable combobox to define the Button's Static element to

 

 

which you want to assign a different background color.

 

 

Here you can:

 

 

enter the name of the Static element direct or

 

 

select a Static element from the list of all Static elements

 

 

that are available.

 

 

 

Color

 

Editable combobox to define the background color you want to

 

 

assign to the selected Static element of the Button.

 

 

Here you can:

 

 

enter a color value (see Section 5.2, "The DCO data types

 

 

and their value ranges"),

 

 

click "Select color" and use the next user window to

 

 

choose a color (see Section 4.6.5, "Edit colors"),

 

 

assign a Constant, Parameter or Variable of the data type

 

 

color, or

 

 

assign a reference to a Control that has the data type col-

 

 

or.

 

 

 

Table 5-97

The arguments of the Instruction SetButtonStaticBackColor

 

07/2010

5-124

OScAR-Pro Customized Operator, User Manual

Page 192
Image 192
Siemens A31003-51730-U103-7619 5.11.29The Instruction SetButtonStaticBackColor, Instructions, Description, Arguments