Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox with mover bars
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01480084
Message ID:
01480094
Vues:
63
>
>
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform