Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Close button
Message
 
À
30/09/1999 07:43:22
Luca Meroni
Easy Consult S.R.L.
Milan, Italie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00270959
Message ID:
00271044
Vues:
21
>Is there a way to prevent the VALID event of an object when the user close a form by clicking the close box on the upper-right corner of a window ?
>
>Thanks, Luca

Luca,

Research the ReleaseType property of the form. It is set when the closebox is clicked. I don't recall the numnber for the closebox but it is in the helpfile. Code like this in the valid will do what you want.
IF Thisform.ReleaseType = [the number for the close Box]
   RETURN .T.
ENDIF
*** The rest of the valid goes here
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform