B4J Question Popup form

dibesw

Active Member
Licensed User
HI,
is it possible to show a second form in popup mode?
eg
this is Main form
B4X:
Sub AppStart (Form1 As Form, Args() As String)
    MainForm.Initialize("frm",400,400)
    MainForm = Form1
    MainForm.RootPane.LoadLayout("menu1") 'Load the layout file.
    MainForm.Show
End Sub
and this second popup form
B4X:
Sub imgsoci_MouseClicked (EventData As MouseEvent)
    'MainForm.close
    soci.Initialize("frm",400,400)
    soci.RootPane.LoadLayout("menusoci")
    soci.Title = "GESTIONE SOCI"
    soci.Show
End Sub
"nenu1" is in secondary position
and to use "menu1" must close "menusoci"
Thanks!
 
Top