The currently visible embedded form.
Set_Property(OLECtrlEntID, "OLE.ActiveForm", Name) |
NameĀ can be any string.
Default: ""
The ActiveForm property sets the currently visible form that was embedded using AddNamedForm.
This property must be called after using AddNamedForm, since AddNamedForm will not set the active form.
// Add two windows to the form, then show the second one NewWindow = Start_Window("MY_FIRST_WINDOW") Handle = Get_Property(NewWindow, "HANDLE") Send_Message(@Window:".OLE_PANEL", "OLE.AddNameForm", Handle, "FORM_A", 1, 0) NewWindow = Start_Window("MY_SECOND_WINDOW") Handle = Get_Property(NewWindow, "HANDLE") Send_Message(@Window:".OLE_PANEL", "OLE.AddNameForm", Handle, "FORM_B", 1, 0) Set_Property(@Window:".OLE_PANEL", "OLE.ActiveForm", "FORM_B") |
AddNamedForm, RemoveAllNamedForms, RemoveNamedForm