Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox dropdown problem
Message
From
23/02/2004 14:31:53
Steven Kleypas
Tarrant County College District
Texas, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Combobox dropdown problem
Miscellaneous
Thread ID:
00880043
Message ID:
00880043
Views:
57
I want to add a feature to a cifcombobox that will cause the choice list to dropdown when the control gets focus (IF lShowChoicesOnEntry ....). The way everyone seems to accomplish this is KEYBOARD '{F4}' in the GotFocus Event. It works, but the choices are not in "sync" with the display value, they always start with the first item in the list.

It turns out that the KEYBOARD '{F4}' is to blame for the dropdown choices being out of sync with the displayvalue. If I remove that line from the gotfocus event, it is in sync when the dropdown button is clicked, however, obviously, the list does not automatically appear when the control gets focus by tabbing to or clicking the control.

Are there any other ways to get this to happen or should I abandon trying to get this functionality?

Thanks to anyone who will take the time to respond!
Reply
Map
View

Click here to load this message in the networking platform