Update Mac menubar
J. Landman Gay
jacque at hyperactivesw.com
Sat Aug 31 18:11:00 EDT 2002
On 8/31/02 3:18 PM, Shari wrote:
> I put a handler in called updateMenus to run when moving to a card that
> changes the menubar.
I spoke too soon again. A better way is "set the menubar of this stack
to <blah>" instead of using "defaultmenubar". While setting the default
menubar does work, it screws up things in development mode, particularly
when using the message box. Setting the stack's menu bar is enough and
leaves the development environment intact.
So the better script is:
on preopenstack
put "menus" & the number of this cd into theMnuGrp
set the menubar of this stack to theMnuGrp
end preopenstack
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the metacard
mailing list