Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox problem
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01077137
Message ID:
01077179
Views:
51
>>>>I'm not sure I want to move the code into LostFocus. I also found that _incseek setting has no effect on the behavior (as I suspected). I'm not sure if there is a solution for the problem, I'm afraid - there is not.
>>>
>>>You may try CHRSAW() or KeyPress to see if there're keystrokes pending
>>
>>CHRSAW doesn't seem to work and I'm not sure what can I do in KeyPress. The only solution I found so far (but it's ugly) is to return 1 in my do case. In other words, as long as I fire a message I move focus out of the combobox.
>
>You may try to set flag (a property) in KeyPress(), check it and reset in Valid(). I'm not sure if it'll work by you can try.

I've tried and could not make it to work. I think I'll resort to switching focus solution :(
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform