ui.Window.GetForm()

 

getForm() is used to get a ui.Form instance belonging to the current window. This provides the user with the possibility to manipulate form objects and returns a variable of the ui.Form type.

 

DEFINE wo ui.Window,

       fo ui.Form

OPEN WINDOW w1 AT 2,2 WITH FORM "my_form"

LET wo = ui.Window.ForName("w1")

LET fo = wo.GetForm()