The Window class / ui.Window methods |
Get the current form of a window.
The getForm() method returns the ui.Form object corresponding to the current form used by the window object.
Declare a variable of type ui.Form to hold the form object reference.
Consider using the ui.Dialog.getForm() method to get the form used by the current dialog.
DEFINE f ui.Form OPEN WINDOW w1 WITH FORM "custform" LET w = ui.Window.getCurrent() LET f = w.getForm()