Re: quiting and close stack message

2010-12-09 Thread J. Landman Gay
On 12/9/10 10:25 AM, william humphrey wrote: Thanks. I read this list every day and often marvel at how lucky I am to be using liveCode which has the resources of the list, people that don't mind pointing out obvious answers to lifetime neophytes like me. I marvel too. We all have our areas of

Re: quiting and close stack message

2010-12-09 Thread Bob Sneidar
Try being a Techno-Twit like me for a day and see how you like it! ;-) Bob On Dec 9, 2010, at 9:07 AM, David C. wrote: > On Thu, Dec 9, 2010 at 10:25 AM, william humphrey > wrote: >> Thanks. I read this list every day and often marvel at how lucky I am to be >> using liveCode which has the res

Re: quiting and close stack message

2010-12-09 Thread David C.
On Thu, Dec 9, 2010 at 10:25 AM, william humphrey wrote: > Thanks. I read this list every day and often marvel at how lucky I am to be > using liveCode which has the resources of the list, people that don't mind > pointing out obvious answers to lifetime neophytes like me. ...and/or virtual "noob

Re: quiting and close stack message

2010-12-09 Thread william humphrey
Thanks. I read this list every day and often marvel at how lucky I am to be using liveCode which has the resources of the list, people that don't mind pointing out obvious answers to lifetime neophytes like me. On Wed, Dec 8, 2010 at 11:29 PM, J. Landman Gay wrote: > On 12/8/10 8:07 PM, william h

Re: quiting and close stack message

2010-12-08 Thread J. Landman Gay
On 12/8/10 8:07 PM, william humphrey wrote: I couldn't get it to work in the IDE but I'll try again now. Seems to me it would be nice if things like this worked consistently in IDE and standalone even if LiveCode programmers had to introduce something to accomplish it. It can't work in the IDE

Re: quiting and close stack message

2010-12-08 Thread william humphrey
I couldn't get it to work in the IDE but I'll try again now. Seems to me it would be nice if things like this worked consistently in IDE and standalone even if LiveCode programmers had to introduce something to accomplish it. ___ use-livecode mailing list

Re: quiting and close stack message

2010-12-08 Thread Bob Sneidar
Well that is odd. It seems to work now. I tested this in the IDE, which quit when I hit CMD-Q without popping a dialog, but worked a peach as a standalone. Now it's working in the IDE as well! I blame Gremlins! Bob On Dec 8, 2010, at 2:35 PM, J. Landman Gay wrote: > On 12/8/10 4:12 PM, Bob

Re: quiting and close stack message

2010-12-08 Thread J. Landman Gay
On 12/8/10 4:12 PM, Bob Sneidar wrote: Oh hey I didn't think about trapping for the menuPick and command key. Good idea. Have you looked at trapping the shutdownRequest message? -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hy

Re: quiting and close stack message

2010-12-08 Thread Bob Sneidar
Oh hey I didn't think about trapping for the menuPick and command key. Good idea. Bob On Dec 8, 2010, at 1:27 PM, FlexibleLearning wrote: > Bob, > > As I said, 'quit' is non-negotiable. Trap a closeStackRequest in the main > stack's card script and offer the option to abort... > > --| Main

Re: quiting and close stack message

2010-12-08 Thread FlexibleLearning
Bob, As I said, 'quit' is non-negotiable. Trap a closeStackRequest in the main stack's card script and offer the option to abort... --| Main stack, card script on closeStackRequest checkQuit end closeStackRequest --| Main stack, stack script on checkQuit answer "Are you sure you want to quit

Re: quiting and close stack message

2010-12-08 Thread Bob Sneidar
Ok I have determined that intercepting the closeStackRequest or the shutDownRequest in the IDE does NOT prevent quitting the IDE. However, intercepting closeStackRequest DOES prevent a standalone from quitting if not passed! Intercepting closeStackRequest, while I am sure it would prevent closi

Re: quiting and close stack message

2010-12-08 Thread Bob Sneidar
Hi Hugh. CloseStackRequest does not prevent quitting in the IDE. It appears nothing does. I suspect however that it would work in a standalone. I will test that shortly. Bob On Dec 8, 2010, at 11:25 AM, FlexibleLearning wrote: > 'quit' cannot be terminated once issued. See 'closeStackRequest

Re: quiting and close stack message

2010-12-08 Thread Bob Sneidar
It looks like this is meant for a standalone only. Quitting the IDE does not seem to send a shutdownRequest to the stack script. Bob On Dec 8, 2010, at 11:11 AM, william humphrey wrote: > *This doesn't work:* > > * > * > > *on* shutdownRequest > > answer "are you sure you want to quit" >

RE: quiting and close stack message

2010-12-08 Thread FlexibleLearning
'quit' cannot be terminated once issued. See 'closeStackRequest' instead of 'closeStack'. Hugh Senior FLCo How do you get an answer dialogue to halt the quit process? If you have a "close stack" handler and it has a "do you really want to quit?" dialogue and you quit the livecode application you

Re: quiting and close stack message

2010-12-08 Thread william humphrey
*This doesn't work:* * * *on* shutdownRequest answer "are you sure you want to quit" *end* shutdownRequest ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription pre

Re: quiting and close stack message

2010-12-08 Thread william humphrey
Exactly. That is what I'm trying to do. Can that be done and tested in the IDE? On Wed, Dec 8, 2010 at 2:57 PM, Bob Sneidar wrote: > Intercept the shutDownRequest message and only pass it if the user > confirms? > > Bob > > > On Dec 8, 2010, at 9:33 AM, william humphrey wrote: > > > How do you g

Re: quiting and close stack message

2010-12-08 Thread Bob Sneidar
Intercept the shutDownRequest message and only pass it if the user confirms? Bob On Dec 8, 2010, at 9:33 AM, william humphrey wrote: > How do you get an answer dialogue to halt the quit process? If you have a > "close stack" handler and it has a "do you really want to quit?" dialogue > and you

Re: quiting and close stack message

2010-12-08 Thread william humphrey
Maybe this doesn't work in the IDE but is possible in a saved application? On Wed, Dec 8, 2010 at 1:33 PM, william humphrey wrote: > How do you get an answer dialogue to halt the quit process? If you have a > "close stack" handler and it has a "do you really want to quit?" dialogue > and you qui

quiting and close stack message

2010-12-08 Thread william humphrey
How do you get an answer dialogue to halt the quit process? If you have a "close stack" handler and it has a "do you really want to quit?" dialogue and you quit the livecode application you see that answer message flash for a second but it doesn't halt the quit process.