General information
Category:
Coding, syntax & commands
Tommy,
You can modify the example I just sent you do pick up the data from a table and put the data in order....
Ric
>Thanks...
>
>What I really would like to do is manually order the contents programatically. Is there a way that you know of to pull that off?
>
>If I could bind the control to a table and still use the mover bars this would be very easy. Unfortunatly VFP won't allow you to use the mover bars with that type datasource.
>
>Tommy
>
>
>>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
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only