Captionobjecta, Collectionobjecta – CUE Design Director Script Language User Manual
Page 23

Reference Manual Design Director Script Language
www.cuesystem.com
Page 23 of 94
3.1.3.
CaptionObjectA
An object inherits from the object – TextObjectA. It contains:
Property
Type
Description
BackColor
ColorObject
The caption background color of the window. Reference to a real color object or to
NoObject, if not filled then the color is transparent. The objects of the color can be
the part of the palette, which has been defined in the design environment.
Color
ColorObject
Text color. Reference to a real color object – it can never be NoObject then the
color would be transparent. The objects of the color can be the part of the palette,
which has been defined in the design environment.
Flash
uint
If the value is a zero the text will not flash. Otherwise the text flashes according to
entered Period and Ratio parameters.
Font
FontObject
Reference to a real font object or NoObject, if not filled then text will not appear.
Height
uint
The caption height of the window. If the height is a zero then the caption will not
appear (in the case is not possible to move the window)
Period
uint
Assigns the text-flashing period in milliseconds. If the value is a zero then the text
will not be flashing.
Ratio
uint
Assigns the number percentage of the period when the text appears. For instance
for the value Period=4000 and Ratio=25 the text appears for 1 second and hides for
3 seconds.
Text
string*50
Text of caption
TxtHOri
uint
The text horizontal orientation. The values are defined 0..left, 1..middle, 2..right. To
insert a different value is not checked, what will appear is not defined.
TxtVOri
uint
The text vertical orientation. The values are defined 0..left, 1..middle, 2..right. To
insert a different value is not checked, what will appear is not defined.
WordWrap uint
If the value is a zero then the text appears on one line. In the opposite case the text
is automatically broken into more lines according to the width of the object.
3.1.4.
CollectionObjectA
The object is basic i.e. there is no object from which it could inherit. The object contains a collection
composed of other object. Except the collection the object has one additional property:
Property
Type
Description
Count
uint
Number of object stored in collection (it is possible to refer to them through the
number 0..Count –1)