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