Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox GotFocus triggers Valid?
Message
De
25/03/1999 16:39:09
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
 
À
25/03/1999 16:33:40
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:
00202074
Message ID:
00202117
Vues:
16
The trouble with using the VALID of a drop down list is that it is always valid by definition. So, in my experience, I stay away from the valid (for drop down lists). Since we aren't supposed to be able to setfocus from a valid anyway, would it help to use the lost focus instead?


>It's a drop-down list, and in this case the GotFocus doesn't do much of anything. It falls through a CASE statement and then does a DODEFAULT(). When I log the coverage, the line after the DODEFAULT() of the GotFocus is the first line of the Valid. My valid is setting focus to another control so what's happening is that when I click on the combo the cursor jumps to another field and never stays on the combo. It doesn't let me change the value of the combo.
>
>>Is it a drop-down combo or drop-down list? What happens in the GotFocus code?
>>
>>>How come, when I click on my combobox, it goes through the GotFocus code and then immediately through the Valid?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform