Menubar Problem
Sarah Reichelt
sarahr at genesearch.com.au
Sun Apr 17 20:56:34 EDT 2005
> I have a dummy stack that I use to hold the menubar called "MainMenu".
> All work fine if the "MainMenu" stack is visible, but if I try to hide
> it, things start to go very wrong!!!!!
>
> Does the stack associated with the MenuBar have to be visible?
>
> I have this in the preOpenStack handler
>
> on preOpenStack
> hide this stack
> end preOpenStack
>
> If I replace this woth a show this stack all works fine!
>
Hi Dave,
I use this technique too, but I never actually open the menubar stack.
In the stack(s) where I want the menu to appear, I just have a line in
the preOpenStack handler saying:
set the menubar of me to "MyMenubar"
and it all works fine.
HTH,
Sarah
More information about the use-livecode
mailing list