Siemens A31003-51730-U103-7619 5.11.83The Instruction SetStaticTextPosition, Instructions, string

Models: A31003-51730-U103-7619

1 336
Download 336 pages 29.09 Kb
Page 248
Image 248

The Elements of a DCO-Script

Instructions

5.11.83The Instruction "SetStaticTextPosition"

Description

Use this Function Instruction to change the positioning of the text of a Static element.

Arguments

Arguments

 

Description

 

 

 

Static element

 

Editable combobox to choose the Static element whose text

 

 

you want to reposition.

 

 

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 text that shall ap-

 

 

pear on the 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,

 

 

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-151

The arguments of the Instruction SetStaticTextPosition

 

07/2010

5-180

OScAR-Pro Customized Operator, User Manual

Page 248
Image 248
Siemens A31003-51730-U103-7619 5.11.83The Instruction SetStaticTextPosition, Instructions, Description, Arguments, string