Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reordering a listbox
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00627651
Message ID:
00627752
Views:
12
Hi,

Two ideas comes to mind.
1. order your list manually and not set an order.
2. add a listorder field that you fill in the order you want i.e. '0001', '0002', '0003' for the first, second, third records etc. then set order to that.

HTH,
Arriyel

>Is there a way to programatically change the order that things show up in a listbox?
>
>I am using the listbox and populating it manually so I can use the mover bars. I am saving the data successfully but I need to restore it a little differently.
>
>If the user selects multiple items from the list when I populate the list next time i need to order the items that were saved before to the top of the list.
>
>I tried setting Index, etc... but have had no luck.
>
>Thanks in advance for any help.
>
>Tommy
Speak using soft and sweet words in case you have to eat them later.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform