Class: DuPopup

DuPopup

For use with DuScriptUI.
A borderless popup, to be tied to a ui control.
This is not a real class, and cannot be instanciated.
Use DuScriptUI.popUp to create a Popup.
The DuPopup inherits the Window object from ScriptUI and has all of its properties and methods.

new DuPopup()

D:/DEV_SRC/RxOT/DuAEF/DuESF/tools/build/output/DuESF.jsxinc, line 7380
Properties:
Name Type Description
content Group The ScriptUI group where the new controls must be added. Do not add any control directly inside the DuPopup.
pinned boolean true if this popup is "pinned", which means it won't hide when the user clicks outside of the window.

Members

staticDuPopup.blockBoolean

Sets this parameter to true to prevent the next show of the popup.
This will prevent it from showing once (and only once).
Default Value:
  • false

Methods

cancel()

D:/DEV_SRC/RxOT/DuAEF/DuESF/tools/build/output/DuESF.jsxinc, line 7424
Hides the popup (alias for DuPopup.hidePopup).

staticDuPopup.hidePopup()

D:/DEV_SRC/RxOT/DuAEF/DuESF/tools/build/output/DuESF.jsxinc, line 7417
Hides the popup.

staticDuPopup.pin(pinned)

D:/DEV_SRC/RxOT/DuAEF/DuESF/tools/build/output/DuESF.jsxinc, line 7401
Pins the popup (it won't be hidden anymore when deactivated).
Name Type Default Description
pinned boolean true optional true to pin the popup, false to un-pin it.

staticDuPopup.pin(pinned)

D:/DEV_SRC/RxOT/DuAEF/DuESF/tools/build/output/DuESF.jsxinc, line 7409
Pins the popup (it won't be hidden anymore when deactivated).
Name Type Default Description
pinned boolean true optional true to pin the popup, false to un-pin it.

staticDuPopup.tieTo(control)

D:/DEV_SRC/RxOT/DuAEF/DuESF/tools/build/output/DuESF.jsxinc, line 7392
Ties the popup to a ui control. The popup will be shown just above the control when it is clicked.
The control must have an addEventListener method.
Name Type Description
control ScriptUI optional The control