ui.Window.GetCurrent()

 

The method is used to bind the current window to a Window object:

 

DEFINE wo ui.Window

OPEN WINDOW orders AT 2,2 WITH FORM "f_orders"

OPEN WINDOW win1 WITH 20 ROWS,30 COLUMNS ATTRIBUTE(BORDER)

CURRENT WINDOW IS orders

LET wo = ui.Window.GetCurrent()