Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
LostFocus vs. Valid in Comboboxes
Message
 
À
15/09/1999 13:08:16
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00264458
Message ID:
00265087
Vues:
32
>>I would put no code in Valid, and look at using Click.
>>In Click:
>>
>>This.Lostfocus
>>
>>to fire whatever code you have in your Lostfocus. Will that work?
>
>Won't the Click fire every time the user clicks on the box, even if it's not dropped down?

What kind of box is it? There are two ideas in play here:

1) The Click does not fire when user clicks on the "dropdown arrow" - so a normal selection can be made without any problems.
2) Any other behavior (incremental search, e.g.) can be controlled in the Lostfocus by stopping exit with a NoDefault. I don't know the details of what you're doing, but the hope is that a combination of these two ideas will help...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform