ui.Window.getNode

Get the DOM node of a window.

Syntax

getNode()
  RETURNING result om.DomNode

Usage

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.

Example

DEFINE w ui.Window, n om.DomNode
OPEN WINDOW w1 WITH FORM "custform"
LET w = ui.Window.getCurrent()
LET n = w.getNode()