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

Click here to load this message in the networking platform