Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What command(s) do I need?
Message
 
À
17/08/1999 09:54:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00254482
Message ID:
00254506
Vues:
28
>But wait...
>It works in clicking "X" in the form but not when Ctrl+F4 is pressed...
>
>Thanks

Hi,

If, in addition to NODEFAULT, you return .F. from QueryUnload, the form cannot be closed by Ctrl+F4, clicking on the close button, or the ControlBox menu. Generally, the code looks something like:
IF NOT SomeLogicalCondition && or IF SomeLogicalCondition
  NODEFAULT
  RETURN .F.
ENDIF
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform