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()

Note: Every Lycia program with UI has the SCREEN window open. If no window was opened explicitly (using OPEN WINDOW statement), ui.Window.getCurrent() will return the SCREEN window (the window object of the currently focused window).

 

Contact Us

Privacy Policy

Copyright © 2024 Querix, (UK) Ltd.