Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox additem should add to the beginning of the list
Message
De
18/01/2000 10:46:15
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00319446
Message ID:
00319448
Vues:
9
Hi Christian,

>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.

To add an Item to the beginning of your list, try:

MyCbo.AddItem("NewItem", 1)

To sort the list Alphabetically, set the Sorted property to .T.

If you want any particular sorts you will probably need to tuse an array or cursor as the record source.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform