Siemens A31003-51730-U103-7619 用户手册

下载
页码 336
BHB_DCO_05.fm
07/2010
OScAR-Pro Customized Operator, User Manual
5-87
   
  
  
For internal use only
The Elements of a DCO-Script
Controls
5.9.16
The child nodes and special attributes of Comboboxes
Comboboxes have the following additional attributes:
The child nodes of Comboboxes
Each Combobox has the following child node:
Attribute
Description
Font
Field indicating the font that is currently used for the entries in 
the Combobox.
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").
Text color
Editable combobox to specify the general color for entries in 
the Combobox.
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 
assign a Constant, Parameter or Variable of the data type 
color.
The color of the entries in a Combobox can be changed during 
the execution of the DCO-Script with the command „The In-
struction "SetComboBoxTextColor"“.
Type
Combobox to define the data type for the Combobox (see Sec-
tion 5.2, "The DCO data types and their value ranges").
Table 5-66
Special attributes of Comboboxes
Child node
Description
Data elements
This child node can contain a list of data elements that are out-
put in the Combobox itself as entries.
For a detailed description of the attributes of the data ele-
ments, please see the Section 5.7.1, "The attributes and child 
nodes of the node "Data lists"".
Table 5-67
The child nodes of Comboboxes