Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox GotFocus triggers Valid?
Message
From
25/03/1999 16:39:09
 
 
To
25/03/1999 16:33:40
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00202074
Message ID:
00202117
Views:
18
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?
Previous
Reply
Map
View

Click here to load this message in the networking platform