Running VFP 9, SP1 under XP Pro. Simple application based on a single,
top-level form.

Can't get ON SHUTDOWN to fire at runtime.

1. I can verify that ON SHUTDOWN is set via a button that shows me its
value:

wait window 'on shutdown = ' + on( 'shutdown' )

2. My ON SHUTDOWN code is simple (to verify ON SHUTDOWN event is
firing):

on shutdown messagebox( 'On shutdown triggered' )

3. I am trying to trigger ON SHUTDOWN via the following:

a. By right-clicking on Taskbar icon and choosing Close (causes my
top-level form's QueryUnload event to fire)

b. By clicking on End Task button in Windows Task Manager (gives me
'Application is not responding' message)

Wondering out-loud ...

1. Am I doing something wrong?

2. Have I misunderstood what actions fire the ON SHUTDOWN 'event'?

3. Have I misunderstood what the ON SHUTDOWN command does?

Your thoughts appreciated!

Malcolm ('bamboozled in NJ')


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to