CUE Design Director Script Language User Manual

Page 64

Advertising
background image

Reference Manual Design Director Script Language

www.cuesystem.com

Page 64 of 94

Property

Type

Description

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.

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.

OnFeedBack

ParamByVal Prev uint

The event occurs at the moment when the feedback comes on
resp. at the moment when its forced changes are performed. The
event parameter is the previous object value.

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.

OnRelease

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

The event occurs at the moment when the user releases his finger
off the screen. This occurs before OnClick and OnUp event. This
occurs at the object where the finger has been put that means it
does not necessarily have to be the object from which the finger
has been released. The first parameter gives the value of Value
object property before the event (if it should for some object
change the runtime). The second parameter is none zero, if the
objects at which the finger was lying on and the finger released are
equal. The third parameter is equivalent to OnDown event – it
informs whether during the event it should instantly generate
further. The last two parameters give the position where the user
has performed the action. The position is relative to the object.

Advertising