Modal dialog locked in

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
jalz
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 340
Joined: Fri Sep 12, 2008 11:04 pm

Modal dialog locked in

Post by jalz » Fri Feb 28, 2014 8:07 am

Hey Guys,
I get the occasional problem when working with modal dialogs. My buttons just seem to close the stack down, due to errors in my script. The only thing I can do is force quit LiveCode rectify the script and then try again hoping script works. In force quitting LiveCode I'm concerned that I will eventually corrupt my file.

Does anyone know of a keyboard shortcut or a technique which will allow me gracefully close down the offending stack without me having to force quit and restart LiveCode?

Many thanks
Jalz

Thierry
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 875
Joined: Wed Nov 22, 2006 3:42 pm

Re: Modal dialog locked in

Post by Thierry » Fri Feb 28, 2014 8:46 am

jalz wrote:Hey Guys,
I get the occasional problem when working with modal dialogs. My buttons just seem to close the stack down, due to errors in my script. The only thing I can do is force quit LiveCode rectify the script and then try again hoping script works. In force quitting LiveCode I'm concerned that I will eventually corrupt my file.

Does anyone know of a keyboard shortcut or a technique which will allow me gracefully close down the offending stack without me having to force quit and restart LiveCode?
Hi jalz,

Either I start coding a *non* modal dialog and when I'm sure of my code, change it to modal,
or I set up an extra "in development" button which only close the modal dialog, and remove it at the end. And I can't say when I'm choosing one or the other :)

My 2 cents,

Thierry
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4174
Joined: Sun Jan 07, 2007 9:12 pm

Re: Modal dialog locked in

Post by bn » Fri Feb 28, 2014 9:27 am

Hi Jalz,

what Thierry said

and have a look at this thread which was started by a certain Jalz

http://forums.runrev.com/phpBB2/viewtop ... =7&t=18784

especially near the end what Jaque said.

Also of course you can add a button during development "close this stack" as an emergency exit.

Kind regards

Bernd

Thierry
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 875
Joined: Wed Nov 22, 2006 3:42 pm

Re: Modal dialog locked in

Post by Thierry » Fri Feb 28, 2014 10:00 am

bn wrote:Hi Jalz,
and have a look at this thread which was started by a certain Jalz
He he, seems I'm not the only one to have memory holes :)

Thierry
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!

jalz
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 340
Joined: Fri Sep 12, 2008 11:04 pm

Re: Modal dialog locked in

Post by jalz » Fri Feb 28, 2014 10:05 am

Hi Guys,

Yes thanks, your right regarding my last thread. I think i shall create a button just solely to close stack for dev purposes and remove it once im happy with the code.

Cheers

Jalz

Post Reply