Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Avoid Form.Deactivate
Message
From
17/04/2002 11:31:14
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Avoid Form.Deactivate
Miscellaneous
Thread ID:
00645912
Message ID:
00645912
Views:
39
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.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Next
Reply
Map
View

Click here to load this message in the networking platform