Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listbox with mover bars
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01480084
Message ID:
01480094
Views:
64
>
>
>FOR lnCount = 1 TO loSelected.LISTCOUNT
>
>	lnItem = loSelected.INDEXTOITEMID(lnCount)
>
>	lcSelectedFields = lcSelectedFields + ;
>			IIF(EMPTY(lcSelectedFields), '', ',') + loSelected.LISTITEM(lnItem)
>
>ENDFOR
>
Thanks, Marat. I found that List property maintains the correct order of items (ListItem does not). And also I figured out why my changes were not saved for the second list. The reason is that I don't store order for the items in the database and therefore I always select items sorted by description.
In other words, I didn't need moverbars in that particular mover class.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform