Information générale
Catégorie:
Codage, syntaxe et commandes
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement