CUE Design Director Script Language User Manual

Page 39

Advertising
background image

Reference Manual Design Director Script Language

www.cuesystem.com

Page 39 of 94

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
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.

OnUp

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, but after OnRelease.
This occurs at the object where the finger has been releases that
means it does not necessarily have to be the object from which the
finger has been put. The parameters are similar to OnRelease i.e.
the first parameter gives the value of the previous object (it is a
value after a contingent run of OnRelease event). The second
parameter informs whether the finger had been laid here and the
third parameter gives whether the event is sent further to the object
physically lying lower on the screen. The last two parameters give
the position where the user has performed the action. The position
is relative to the object.

Advertising