no stack revMenuBar in standalones?

Mark Schonewille m.schonewille at economy-x-talk.com
Sat Apr 11 04:26:34 EDT 2015


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?
>




More information about the Use-livecode mailing list