one dialog per stack or several

Jeanne A. E. DeVoto jeanne at
Tue Jul 2 14:16:01 EDT 2002

At 10:20 AM -0700 7/2/2002, Dar Scott wrote:
>I'm about to make some related dialog boxes.  They are also related
>to a library script I need to put some place.
>Should I make one stack for each dialog box or figure out some way
>to put all of them in the same stack?  They may not be the same

You can do this either way, of course - either separate substacks, or put
all the controls in a single stack and do a bit of fancy footwork in
preOpenStack to hide/show/move/resize controls appropriately. But I would
think in almost all cases the separate-stacks approach would be simpler.

>I'll sneak in another question:  For tabbed sections, should I use
>multiple cards?  How do I make the untabbed part have the same data
>on all cards?  Or should I use multiple groups?  If the latter, I
>do I edit them?

Either way works for me. If you use multiple cards, you can create a group
out of the controls in the untabbed part, and place it on all the cards.

Jeanne A. E. DeVoto ~ jeanne at
Runtime Revolution Limited - The Solution for Software Development

More information about the Use-livecode mailing list