Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is the last method when leaving a container?
Message
From
25/07/2008 04:18:09
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01333892
Message ID:
01334015
Views:
10
Hi,

I have a myContainer containing an IE object and a couple of buttons to facilitate the editing of IE.Document. I would like to have a "are you sure to leave form without saving changes" message box when user clicks the form QueryUnload X box.
The myContainer.LostFocus does not get fired when applying the QU-Box.
Noticed in the coverage profiler that last methods which are activated: myForm.QueryUnload - myForm.Destroy - myContainerDestroy.
and no LostFocus

Regards,

Koen
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform