Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Moverlist with 3 columns
Message
De
27/10/1998 12:55:16
 
 
À
27/10/1998 06:54:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00150831
Message ID:
00151119
Vues:
47
Try this...


With This.Parent
For I = 1 To .lstSelected.ListCount
If .lstSelected.Selected(I)

lnItemID = .lstSelected.IndexToItemID(I)

.lstSource.AddListItem(.lstSelected.ListItem(I),lnItemID,1)
.lstSource.AddListItem(.lstSelected.ListItem(I,2),lnItemID,2)
.lstSource.AddListItem(.lstSelected.ListItem(I,3),lnItemID,3)

.lstSelected.RemoveItem(I)
Endif
EndFor
EndWith


You need to add items using the ITEMID not the INDEX

This should work...i didn't get a chance to debug it. I'll debug it and let you know if i find any errors.
Carl
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform