CUE Design Director Script Language User Manual

Page 88

Advertising
background image

Reference Manual Design Director Script Language

www.cuesystem.com

Page 88 of 94

Event

Parameters

Description

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.

OnSetBitmap ParamByVal Prev BitmapObject The event is called immediately after when someone changes

the Bitmap object property. The event is dedicated i.e. for the
change of the object size based on the picture size.

OnShow

ParamByVal Prev PageObject

The event occurs at the moment when the object is called to be
displayed, respectively when other page is closed and then the
one is displayed this way. The macro event is called right after
the object has been really displayed. The parameter contains a
reference to page that was up before. If the window is
displayed, the page from the parameter remains still up. For the
first displayed page in the system is the parameter value
NoObject

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