kanaida was trying something like this but I :sign0104: cant seem to get even a panel to appear atop another panel. Perhaps I shouldn't be using the designer scripts in the layout.. But
I appreciate any and all assistance thank you :sign0085:
Sub Activity_Create(FirstTime As Boolean)
panMain.Initialize("panMain")
Activity.AddView(panMain,0,0,0,0)
panMain.LoadLayout("layeredOne")
panSub.LoadLayout("layeredTwo")
Activity.AddView(panMain, 0%x, 0%x, 50%y ,50%x)
End Sub
I have a designer script in the horizontal 1280 x 800 layout variant. The Goal here is to just have several panels in the singular activity that I can Display , hide bring forward send back .. some of these panels will have to have "sub" panels in them to designate areas that will house additional views. This is an attempt to replicate a controller written in .NET where there were complex usercontrols all over this very overcrowded main form.
This specific test was an attempt at just TWO panels in the activity simultaneously displayed with both panels (equally divided ) in the activity housing views (panels) that contain more whoo hoo you guessed it panels.
I'm just trying one inside of one at this point but you get the idea. LayeredTwo layout also has a label just so i can see the difference.
Am I erroring because I haven't designated my sub panels as children of the panel that houses them? I'm presently being confronted with the error that I need to removeview() at line 43 when I call Activity.AddView(panMain, 0%x, 0%x, 50%y ,50%x) the specified child already has a parent. You must call removeView() on the child's parent first..
I appreciate any and all assistance thank you :sign0085:
Sub Activity_Create(FirstTime As Boolean)
panMain.Initialize("panMain")
Activity.AddView(panMain,0,0,0,0)
panMain.LoadLayout("layeredOne")
panSub.LoadLayout("layeredTwo")
Activity.AddView(panMain, 0%x, 0%x, 50%y ,50%x)
End Sub
I have a designer script in the horizontal 1280 x 800 layout variant. The Goal here is to just have several panels in the singular activity that I can Display , hide bring forward send back .. some of these panels will have to have "sub" panels in them to designate areas that will house additional views. This is an attempt to replicate a controller written in .NET where there were complex usercontrols all over this very overcrowded main form.
This specific test was an attempt at just TWO panels in the activity simultaneously displayed with both panels (equally divided ) in the activity housing views (panels) that contain more whoo hoo you guessed it panels.
I'm just trying one inside of one at this point but you get the idea. LayeredTwo layout also has a label just so i can see the difference.
Am I erroring because I haven't designated my sub panels as children of the panel that houses them? I'm presently being confronted with the error that I need to removeview() at line 43 when I call Activity.AddView(panMain, 0%x, 0%x, 50%y ,50%x) the specified child already has a parent. You must call removeView() on the child's parent first..
Attachments
Last edited: