Re: Want to replace this stack with another

Scott Raney (raney@metacard.com)
Wed, 27 Aug 1997 09:34:19 -0600 (MDT)

On Wed, 27 Aug 1997, Ken Burgener wrote:

>
> In stack "A" I want to put a button labeled "Go to B" which will
> bring up stack "B" and close "A". The stacks are about the same
> size, and positioning is not important to me. Each is saved in
> a file by itself. I'm running MetaCard 2.1 under Solaris 2.5.1.
>
> I tried:
> go to "B"
> close "A"
> exit mouseUp
>
> This brings up "B" as desired, but generates an error "close:
> can't find stack" and does not remove "A".

These should be:
go to stack "B"
close stack "A"

> I've tried several permutations of the above with varying
> results, but can't get it to do what I want.
>
> Does anybody know how to accomplish this?

The problems are worse than just getting the syntax of the opening and
closing commands right, at least on X11 systems: Different window
managers position windows differently, and so it's likely that "B"
won't appear in the same place as "A". MetaCard 2.1.1 has a
workaround for this:
go to stack "B" in window of stack "A"
Regards,
Scott

> Thanks,
> Ken Burgener
> ERIM International, Inc.
>
>

**********************************************************
Scott Raney raney@metacard.com http://www.metacard.com
Only 1% of computer users know a programming language...
MetaCard: We can change all that.