Hello,
how do I handle multiple layouts?
If I have three layouts, Layout1, Layout2 and Layout3, how can I change between them in a program?
I started with this:
Sub AppStart (Form1 As Form, Args() As String)
MainForm = Form1
MainForm.RootPane.LoadLayout("Layout1")
MainForm.Show
End Sub
To load Layout2 I used:
MainForm.Close
MainForm.RootPane.LoadLayout(Layout2")
MainForm.Show
It is loading, but on top of Layout1. How to do it correct?
how do I handle multiple layouts?
If I have three layouts, Layout1, Layout2 and Layout3, how can I change between them in a program?
I started with this:
Sub AppStart (Form1 As Form, Args() As String)
MainForm = Form1
MainForm.RootPane.LoadLayout("Layout1")
MainForm.Show
End Sub
To load Layout2 I used:
MainForm.Close
MainForm.RootPane.LoadLayout(Layout2")
MainForm.Show
It is loading, but on top of Layout1. How to do it correct?