Hi Richard,

I remember giving the advice to include that line of syntax. You could do this:

if the environment contains "dev" then
set the defaultMenuBar to the long id of grp "revMenuBar" of stack "revMenubar"
end if

(mind line wraps). If you do this, would you have a situation where you have no or the wrong menu bar set in your app?

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Installer Maker for LiveCode:
http://qery.us/468

Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi

LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 4/11/2015 02:42, Dr. Hawkins wrote:
My standalones are choking on the line

   set the defaultMenuBar to the long id of grp "revMenuBar" of stack
"revMenubar"

A check found that exists() denies that there is any such objects.

Is this one of those  stacks that gets loaded late, or is there some ohter
equivalent?  Do I need to copy that group to one of my stacks and refer to
that?


_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to