Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
List/Combo Boxes
Message
De
05/08/1997 15:51:50
 
 
À
05/08/1997 14:16:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00043135
Message ID:
00043253
Vues:
34
>>> NumberOfElements will not change the fact that seven lines are displayed
>>> when the combo is dropped down.
>>
>>The above is indeed correct, just to bring closure to this thread. I am
>>resigned to the fact that 7 and only 7 items will display when the box is
>>dropped down, and that I have no control over this behavior. Surprising, but
>>apparently true... Thanks to all for your help.
>
>Don't close too fast... There is no limit in cheating users: what about bringing up (from Combo.DropDown event) separate listbox (instead of list portion of combo) with appropriated number of visible items (appropriate Height property), and returning value to Combo from List.LostFocus where you also hide Listbox itself.
Agree. We built a 'variable combo' class just this way to handle the case where the user wants to see more than seven (usually the lists would be 8-12 long and the 7 limit was anoying). Since the listbox will scroll if list is larger than available space the your just thinks it is a way cool combo.
Gary
Gary
Helping Make Ideas Reality
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform