CUE Design Director Script Language User Manual
Page 89

Reference Manual Design Director Script Language
www.cuesystem.com
Page 89 of 94
Method
Parameters
Description
Hide
Closes the object. If the operation cannot be performed (e.g.
closing of the last opened page, closing of object from which
the modal window is launched) then an error will be generated.
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.
Show
Opens the object. In case the object has been already opened
(speaking about a window), the method will move it above all
other. In case the object would not be able to be opened – e.g.
there is some temporarily modal window opened, then the
method will generate an error. Simultaneously during the
opening process the OnShow event of the opening object is
called. Note: speaking about the error handling process, for the
Show method call within the framework of the method (before
control returns back from it) calls the event – for the event
handling OnErrorResumeNext is set and Err object is reset.
Once the event is finished, the eventual error (its number) is
assigned to Err object and the code continues. In case of the
modal window opening, the code will not wait. I.e. the window
opening is performed and it is further continued.