CUE Design Director Script Language User Manual

Page 65

Advertising
background image

Reference Manual Design Director Script Language

www.cuesystem.com

Page 65 of 94

Event

Parameters

Description

OnUp

ParamByVal Prev uint
ParamByVal Same uint
Param Propagage 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.

Method

Parameters

Description

PosMe2Parent

Param x uint
Param y uint

Converts the entered coordinates x, y relative to the object to
coordinate relative to the parent object. If the father of the object is
not defined (the value of the property Father is NoObject) then the
coordinates remain the same.

PosParent2Me Param

x

uint

Param y uint

Converts the entered coordinates x, y relative to the parent object
to relative coordinate directly to the object. If the father of the object
is not defined (the value of the property Father is NoObject) then
the coordinates remain the same.

PosParent2Top

Param x uint
Param y uint

Converts the entered coordinates x, y relative to the parent object
to relative coordinate to the top object (i.e. relative to the window or
the page) If the father of the object is not defined (the value of the
property Father is NoObject) then the coordinates relative to the
top object remain the same as the coordinates relative to father of
the object.

PosScreen2Top

Param x uint
Param y uint

Converts the entered coordinates x, y relative to the entire screen
to coordinate relative to the top object (i.e. relative to the window or
the page)

PosTop2Parent

Param x uint
Param y uint

Converts the entered coordinates x, y relative to the top object (i.e.
relative to the window or the page) to coordinates relative to the
parent of the object. If the father of the object is not defined (the
value of the property Father is NoObject) then the coordinates
relative to object remain the same as the coordinate relative to the
father of the object.

PosTop2Screen

Param x uint
Param y uint

Converts the entered coordinates x, y relative to the top object (i.e.
relative to a window or page) to coordinates relative to the entire
screen.

Advertising