Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
LostFocus vs. Valid in Comboboxes
Message
De
15/09/1999 13:30:06
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:
00265092
Vues:
31
>>>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...

I meant the textbox part of the Combobox. If the user clicks there, won't the Click Event fire?

I'm going to try some of these suggestions and see what happens.
Elyse Pomerantz
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform