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

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

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

Post by BarrySumpter » Sat Mar 17, 2012 11:55 pm

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."
All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.

sturgis
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1685
Joined: Sat Feb 28, 2009 11:49 pm

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

Post by sturgis » Sun Mar 18, 2012 12:20 am

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

BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

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

Post by BarrySumpter » Sun Mar 18, 2012 12:39 am

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.
All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.

Post Reply