Page 1 of 1

Loading LC app in IDEdit mode displays msg then exits LC IDE

Posted: Sat Mar 17, 2012 11:55 pm
by BarrySumpter
I'm sure I'm run into this before.

I don't know how I've done it but I have a .livecode project that loads in the ide and display an OK message then as soon as I click the OK button LC IDE closes.

I don't recall how to work around this problem.

Any help would be greatly appreciated.

---

M:\Documents and Settings\Barry\My Documents\Paradigma Software\V4REV_4\Examples\Common\GetDatabaseVersion

"This stack works in local mode only."

Re: Loading LC app in IDEdit mode displays msg then exits LC

Posted: Sun Mar 18, 2012 12:20 am
by sturgis
To get around the problem so that you can adjust the code to solve it, turn off messages before opening your stack.

If you have a quit in there somewhere you can surround put it inside an envornment check.
if the environment is development then
-- don't quit, do whatever you wish
else
--quit
end if

Re: Loading LC app in IDEdit mode displays msg then exits LC

Posted: Sun Mar 18, 2012 12:39 am
by BarrySumpter
Thanks dude!

LiveCode IDE Menu | Development | Supress Messages

Blast!
Back to the gClient of this stack probs with v4Rev examples.

Now I've gotta test n re-write that one as well.