Code: Select all
if the environment is "standalone application" then
set the menubar of this stack to "AppMenubar"
end if
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Code: Select all
if the environment is "standalone application" then
set the menubar of this stack to "AppMenubar"
end if
Code: Select all
...
if the environment is "standalone application" then
set the defaultmenubar to "Appmenubar"
end if
...
Code: Select all
on preOpenStack
if the environment is "standalone application" then
set the defaultMenubar to "AppMenubar"
-- set the defaultMenubar to the long ID of group "AppMenubar" of this stack
-- set the menubar of this stack to "AppMenubar"
end if
end preOpenStack
Code: Select all
on menuPick pWhich
answer pWhich &return&return& the topStack &return&return& the openStacks
exit menuPick
Code: Select all
on preOpenStack
if the environment is "standalone application" then
set the defaultMenubar to "AppMenubar"
end if
end preOpenStack
Code: Select all
clone invisible stack "Matrix"