The Window class / ui.Window methods |
Get a window object by name.
ui.Window.forName( name STRING ) RETURNING result ui.Window
The ui.Window.forName() class method returns the ui.Window object corresponding to an identifier used to create the window with the OPEN WINDOW instruction.
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.forName("w1")