CUE Design Director Script Language User Manual

Page 87

Advertising
background image

Reference Manual Design Director Script Language

www.cuesystem.com

Page 87 of 94

Property

Type

Description

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 coordinates position of the object within the area of its
parent.

Y

uint

The Y coordinates 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.

Event

Parameters

Description

OnClick

ParamByVal Prev uint
Param Propagate uint
ParamByVal X uint
ParamByVal Y uint

The event occurs at the moment, when the user touches and
releases his finger above the same object, which does not have
set its feedback (i.e. to a variable or to a value). It occurs after
OnRelease and OnUp events that have occurred at the same
object.The parameters are the previous object value (the value
after the possible run OnUp event) and whether the event
should be sent also to the object lying under. The last two
parameters give position where the user has performed the
action. The position is relative to the object. Note: The runtime
changes the value right before OnClick.

OnDown

ParamByVal Prev uint
Param Propagate uint
ParamByVal X uint
ParamByVal Y uint

The event occurs at the moment when the user touches the
screen with his finger (equivalent to MouseDown). The first
parameter contains the value of Value object property before
the event (can be different i.e. for tabs where at the moment of
OnDown switches to actual page). The second parameter is
used as a return value – if the value is stored in it (i.e. none zero
value), then event will be called only at this object. Otherwise (if
a zero is entered in it) if the macro handling is finished then the
event immediately will generate additional event for object
physically lying beneath the actual one. The last two
parameters give position where the user has performed the
action. The position is relative to the object.

OnHide

The event occurs at the moment when another page is
displayed (i.e. to all displayed windows until now that would be
covered and to the page) or if to an assigned object a Hide
method is called. The event of the macro is called at the
moment when the original object has been really hidden
(respectively closed)

OnMove

Param Propagate uint
ParamByVal X uint
ParamByVal Y uint

The event occurs at the moment when the user moves his
finger on the screen (equivalent to Visual Basic MouseMove).
The first parameter is used as a return value - if the value is
stored in it (i.e. none zero value) then it will call the event at this
object only. Otherwise (if a zero is entered in it) if the macro
handling is finished then the event immediately will generate
additional event for object physically lying beneath the actual
one. The last two parameters give the position where the user
has performed the action. The position is relative to the object.
The event only receives the top most objects. If the window is
shifted by this titlebar (the caption), then this event will not be
generated.

Advertising