General information
Category:
The Mere Mortals Framework
Title:
Combobox dropdown problem
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only