Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox additem should add to the beginning of the list
Message
From
18/01/2000 10:46:15
 
 
To
18/01/2000 10:40:21
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00319446
Message ID:
00319448
Views:
11
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform