Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with Combo...
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00748588
Message ID:
00748614
Views:
18
Drat, I thought we had a winner, but no go. I simulated the same here.

However,
THIS.SETFOCUS
KEYBOARD '{F4}'
does the job nicely. Good grief. Thanks for the push!

>Ok, let's see. I created a form with a combo and a command button. If I put the following code in the command button, it works:
>
ThisForm.combo1.DisplayValue = "Green"
>ThisForm.combo1.SetFocus()
>KEYBOARD '{F4}'
>
>I think I figured out a way to get it to work the way you want. How about if you put the following in the GotFocus?
>
This.Value = This.Value
>KEYBOARD '{F4}'
>On my machine, that seems to goose the control enough so that it figures out what's going on.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform