Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Avoid Form.Deactivate
Message
De
17/04/2002 11:31:14
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Avoid Form.Deactivate
Divers
Thread ID:
00645912
Message ID:
00645912
Vues:
40
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)
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform