Horizontal Fill - Omron CX-SUPERVISOR - SCRIPT REFERENCE REV2.0 Reference Manual

Script language
Table of Contents

Advertisement

OMRON
The selectable object 'PUSH_8' is disabled provided Integer point 'count' AND Boolean point 'flag'
return ''TRUE''.
Height
Syntax
objectname.height (expression, context)
objectname.height = expression
Remarks
Argument
objectname
expression
context
Typical Examples
height (100)
or
height = 100
The height of the current object is set to 100.
LINE_1.height (stretch/offset, @top)
The height of object 'LINE_1' is changed to the value calculated by points 'stretch' and 'offset',
keeping the top where it is.

Horizontal Fill

Syntax
objectname.horizontal%fill (expression, context)
Revision 2.0
This is the name of the object, following any amendment to the object name.
Where a script is directly attached to an object, objectname is not required.
This is a value, point or an arithmetic expression returning a new height value
in pixels.
This argument is optional and may be omitted. It defines which part of the
object is the datum, and remains static. May be one of:
@TOP – uses object top as datum.
@CENTRE – uses object centre as datum
@BOTTOM – uses object bottom as datum
If omitted @CENTRE is assumed
CHAPTER 6 – Functions and Methods
Description
Page 43

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cx-supervisor 2.0

Table of Contents