On 10/26/06 8:48 PM, "Mark MacKenzie" <[EMAIL PROTECTED]> wrote:

> Hello Devin.  Not having much luck so far I stripped the close handler
> to the following:
> 
> 
> on closeStackRequest -- confirm whether to close the window
>   answer question "Are you sure you want to quit the entire program?"
> with "Yes" or "No"
>   if it is "Yes"
>   then
>     quit
>   end if
> end closeStackRequest
> 
> However, the application still does not close when in the stand alone.

Try this:

on closeStackRequest -- confirm whether to close the window
  answer question "Are you sure you want to quit the entire program?"
with "Yes" or "No"
  if it is "Yes"
  then
    lock messages    -- Added line
    quit
  end if
end closeStackRequest

My bet is there's some message firing off during closing that's not getting
handled and so it is interrupting normal quitting operations.

Ken Ray
Sons of Thunder Software, Inc.
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to