Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moverbar
Message
From
17/04/2018 09:57:41
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Moverbar
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Miscellaneous
Thread ID:
01659460
Message ID:
01659460
Views:
107
Hi,

HELP!

Can someone PLEASE show me with an example of reading the final re-sequenced list of a Listbox after it has been a subject to the MoverBars. I have spend hours searching the web for an example in doing this. There are a few, but all are Pseudo-Code, partial snippet of code, or answers like "Just do it." I am beginning to believe it can't be done. I have look in the ItemIDToIndex (and it cousin), but not sure how the implement them to get the final resulting list order.

I am building list in the Listbox using the AddListItem() from a cursor. Displaying it. They can re-orginize the sequence. Click a Close button that loops though the list (1 to ListCount) and create a single string of the new order (well that's the goal). But when I read the list, it is the same as the original. I know, the ItemIdToIndex() (or the other one) is involved. But how?

PS. sorry for anger. It been one of those weeks.

Thanks in advance.
Greg
Greg Reichert
Next
Reply
Map
View

Click here to load this message in the networking platform