Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox additem should add to the beginning of the list
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00319446
Message ID:
00319449
Vues:
10
>Hello,
>I have a combobox class, with which the user can add items interactively to the items list when he/she enters a new value which is not yet in the list.
>However, when I just add the item with MyCbo.Additem(), it always appears at the end of the list, but I want to see the most recent added items at the beginning or maybe even in alphabetical order.
>
>What do I have to do?
>Thanks for your help in advance!

Look at the property sorted and see if it is set. I think this will sort the list in what you define. You might look in the VFP help for the functionality of the sorted property.
Bret Hobbs

"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform