The Window class / ui.Window methods |
Get the current window object.
ui.Window.getCurrent() RETURNING result ui.Window
The ui.Window.getCurrent() class method returns the ui.Window object corresponding to the current window.
Declare a variable of type ui.Window to hold the window object reference.
DEFINE w ui.Window OPEN WINDOW w1 WITH FORM "custform" LET w = ui.Window.getCurrent()