Toplevelobjecta – CUE Design Director Script Language User Manual

Page 30

Advertising
background image

Reference Manual Design Director Script Language

www.cuesystem.com

Page 30 of 94

3.1.13. TopLevelObjectA

The object inherits from SubCollectionObjectA and VisibilityObjectA object. The visibility of the object
(Visible property) is possible to read only, but it doesn’t give the meaningful values.

Note: the page, window visibility, generally the object is get through the View object.

The object contains:

Property

Type

Description

Father IndetificationObjectA

The father of the object. For the button itself, for instance it is the board that
it is lying on. For the window and the page (as well as for the ”free” objects –
i.e. a picture, font or a color) the value is NoObject. The property is for
reading only.

Height

uint

It is the complete height of the object. For the page the property cannot be
changed.

Child

CollectionObjectA

It is the collection of all child objects of IdentificationObjectA type. The
property is for read only. The value is default.

Name

string*50

The object name. The property is for reading only. The value is default.

Tag

uint

Free space where anyone, while the program is running, can note
something. For the virtual world itself it has no importance. For the design
environment it is forbidden. At the beginning the value is zero here.

Top IdentificationObjectA

Top object for an object. This means an object that has no father – that is a
page or a window. For the ”free” objects – i.e. a picture, font, color – the
value is NoObject.

Transparent uint

When the value is a zero, the object is not transparent – that means it writes
on the entire area of a rectangle determined by a position (without a
coordinate Z).The none-zero value means that some part of the object is not
fully drawn. I.e. The background is a picture with a transparent color,…The
feature is read only.

Visible

uint

When the value is a zero, the object is neither drawn nor it gets information
about the user’s touches on the panel (The events are not generated) On
the other hand when the value is other than the zero, the object is drawn as
well it receives events.

Width

uint

It is the total width of the object. The property cannot be changed for the
page.

X

uint

The X coordinate position of the object within the area of its parent.

Y

uint

The Y coordinate position of the object with the area of its parent. For the
window it is a position on the screen, for the page the property cannot be
changed.

Z

uint

The Z coordinate position of the object within the area of its parent that
means it determines the overlapping of the objects among each other. In
case two objects will have the same coordinate Z, the resulting status on the
screen is not explicitly defined. For the top object (that is a window or a
page), the coordinate sets position on the screen among other top objects.
For these objects the property cannot be changed, only read.

Advertising