Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox dropdown problem
Message
De
23/02/2004 14:31:53
Steven Kleypas
Tarrant County College District
Texas, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
Combobox dropdown problem
Divers
Thread ID:
00880043
Message ID:
00880043
Vues:
58
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!
Répondre
Fil
Voir

Click here to load this message in the networking platform