Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checking to see if command is being executed..
Message
De
16/06/1999 14:23:17
 
 
À
16/06/1999 14:09:38
Frank Cavone
Monetary Management of Ny, Inc.
Albany, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00230549
Message ID:
00230554
Vues:
24
Assuming that the command button has Cancel = .T.:

IF LastKey() = 27
RETURN .T. && Skip the validation
ENDIF

HTH

>i have a text box on a form that uses a valid event, if i simply want to exit the form without the box being validated i cannot quit the form until i put data in the text box that fulfills the valid event. i am using a command button that executes, thisform.release, on click event.
>i would like the fist line of code in the valid event procedure to check to see if this exit command has been clicked. if clicked the valid event would be bypassed.
>i know what i want it to do but i do not know the syntax, i tried the following code - if not thisform.exit - but does not work. can anyone help me with the syntax.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform