No i'm talking about shutting down the project not vfp
When I have a form open with a method open, I press ctrl+W twice to get back to the PM
If I don't have the method open & still press ctrl+w twice it shuts the proejct down
& if it takes 10 minutes to open the project.. this can be a royal PITA
Hence the reason I'm pleased with tim's little fix
:)
>Will,
>
>In this case you can try catching VFP before it shuts down using ON SHUTDOWN. Maybe something like
>
>ON SHUTDOWN MESSAGEBOX("Sure to leave VFP?",0,"Warning!")
>
>could help you avoid exiting from VFP by mistake.
>
>>Tim,
>>
>>This is a great tip...
>>only problem is if you close VFP down with the project open and then re-start VFP it loads the project automatically
>>Do you know of any way to stop this so I can use your technique?
>>
>>>I downloaded this prg from somewhere which I run in a a macro...
>>>CTRL O ...
Will Jones