Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ListBox - MoverBar
Message
 
To
07/04/2000 12:35:23
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00356955
Message ID:
00356958
Views:
13
Paige,

You can do something like...

SELECT LocalCursor
GO TOP
FOR i = 1 TO thisform.listbox.listcount
REPLACE NEXT MyField WITH thisform.listbox.list(i,1)
SKIP
ENDFOR

HTH,

Phil

Hello All,

I'm using a ListBox with MoverBars set to True so the user can resequence the contents of the ListBox. This works fine. I also want create a set of records from the contents of the ListBox in the order that is displayed. That order is controled by the ListIndex as opposed to the ListItemID. Question how do I retrieve the items in the list box in the order of the listIndex? I Used "AddListItem" to populate the ListBox from a table. How do I access the ListBox data to "replace" it into a table in the new sequence? TIA.

Regards,

Paige
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform