Siemens A31003-51730-U103-7619 User Manual

Page of 336
BHB_DCO_05.fm
07/2010
OScAR-Pro Customized Operator, User Manual
5-133
   
  
  
For internal use only
The Elements of a DCO-Script
Instructions
5.11.38
The Instruction "SetButtonStaticTextPosition"
Description
Use this Function Instruction to edit the positioning of the text of a Static element on a Button.
Arguments
Arguments
Description
Button
Editable combobox to choose the Button with the Static ele-
ment whose text position you want to edit.
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 choose the Static element of the select-
ed Button, the text position of which you want to edit.
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.
Position
Drop down list to select the position for the image in the But-
ton's Static element.
Here you can:
choose from "left, top", "h-center, top", "right, top", 
"left, center", "h-center, v-center", "right, center", "left, 
bottom
", "h-center, bottom", and "right, bottom" to find 
the best position for the text of the Static element of the 
Button,
assign a Constant, Parameter or Variable of the data type 
string, or
assign the reference to a Control that has the data type 
string.
Table 5-106
The arguments of the Instruction SetButtonStaticTextPosition