mainStack and subStack question???

Devin Asay devin_asay at byu.edu
Thu Jul 14 13:04:44 EDT 2005


On Jul 14, 2005, at 10:31 AM, Ban Nguyen wrote:

> Hello,
>
> On my application that I am working on, it has a mainStack and 5
> substacks
>
> On the mainStack (card 1), I put 5 buttons to go to subStacks
>
> This is a problem:  when user clicks on button 1 to go to substack 1,
> the substack 1 shows, but when user click on button 2 to go to
> substack2, the substack 1 disappears.
>
> Is there anyway to keep the substack 1 stays until the substack 2  
> shows
> up?

Ban,
It sounds like what you want is to smoothly transition from one stack  
to another with no breaks, flashes, or jumps. The best way I have  
found to do this is to use the go stack in window form, like this:

     go stack <name of substack> in window <name of current stack>

This will simply replace the contents of the window with the new  
stack without having to visually close the old stack window and  
create and open a new window.

Devin

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University




More information about the use-livecode mailing list