Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Avoid Form.Deactivate
Message
 
 
To
17/04/2002 11:31:14
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00645912
Message ID:
00645915
Views:
11
"NODEFAULT in the QueryUnload event procedure prevents the form from unloading".

>The following sample code conditionally goes back to the form - perhaps to force the user to complete some input.
>
>
>* Method: Form.Deactive()
>if MessageBox("Deactivate?", 4) = 6
>	DoDefault()
>else
>	ThisForm.Show()
>endif
>
>
>Is it possible to avoid the form losing focus in the first place? I mean, just to avoid clumsy display.
>
>TIA, Hilmar.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform