Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot setfocus from valid
Message
 
 
À
14/02/2002 13:37:35
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00620209
Message ID:
00620219
Vues:
14
>Hi All
>
>I have just run into an issue that I was sure I have done in the past. I am building a class that will check if the value of a textbox is valid based on a parent table. If the value is not valid then I want to pull up a search form for the user to pick from. This form has a setfocus in it to get the user to the appropriate place. If place the code in the valid method I get the error. If I use the lostfocus then the valid has already fired. I guess I could call getfocus from within lostfocus but that seems wrong to me. Any ideas?

Check Help on Valid method. You will see, that this is by design.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform