Page 1 of 1

multiple windows - advice on design

Posted: Mon Jan 11, 2016 8:59 pm
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

Re: multiple windows - advice on design

Posted: Tue Jan 12, 2016 7:32 am
by Fred
I think opening windows on the fly should be the way to go

Re: multiple windows - advice on design

Posted: Tue Jan 12, 2016 10:24 am
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.