multiple windows - advice on design

Just starting out? Need help? Post your questions and find answers here.
User avatar
SparrowhawkMMU
Posts: 291
Joined: Wed Aug 19, 2015 3:02 pm
Location: United Kingdom

multiple windows - advice on design

Post by SparrowhawkMMU »

I am building a web UI for a PHP-based API (which I also wrote). This will require multiple windows but only one (or at most 2) should be visible at any one time. Should I create all windows up front and hide the ones I do not need, or is there a way to structure the code to allow windows to be opened as needed? I could not find an example - did i miss it in the examples folder?

Just to clarify: I know how to open multiple windows, just not what is the *best* approach in SB.

Thanks
Fred
Site Admin
Posts: 1820
Joined: Mon Feb 24, 2014 10:51 am

Re: multiple windows - advice on design

Post by Fred »

I think opening windows on the fly should be the way to go
User avatar
SparrowhawkMMU
Posts: 291
Joined: Wed Aug 19, 2015 3:02 pm
Location: United Kingdom

Re: multiple windows - advice on design

Post by SparrowhawkMMU »

Thanks Fred. This is what I was thinking, so good to know.

Now I just need to work out an elegant structure for my procedures and files :) I think I have some ideas around that.
Post Reply