Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Valid event problem
Message
De
01/04/2008 17:14:03
 
 
À
01/04/2008 17:08:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01307503
Message ID:
01307506
Vues:
8
>Well the problem is that I have a button. If you happen to be in the field that is getting validated and you click the button, the valid event fires; but then the code in the click method of the button never runs. For some reason the valid event code is cancelling out the code in the button.
>
>This is exactly what I would expect to happen. returning .F. or 0 from the Valid() method means that the control you are in does not lose focus. If you merely want to fisplay the message and move on, put the code in the LostFocus().

hmmm, not working when it's in the lost focus event either.

I put a =messagebox("i got clicked") as the first line of the click method of the button... but it never runs. Weird


Thanks for your help.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform