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
Modal dialog locked in
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: Modal dialog locked in
Hi jalz,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?
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.
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!
Re: Modal dialog locked in
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
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
Re: Modal dialog locked in
He he, seems I'm not the only one to have memory holesbn wrote:Hi Jalz,
and have a look at this thread which was started by a certain Jalz

Thierry
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!
Re: Modal dialog locked in
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
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