Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moverlist with 3 columns
Message
From
27/10/1998 12:55:16
 
 
To
27/10/1998 06:54:48
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00150831
Message ID:
00151119
Views:
45
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
Previous
Reply
Map
View

Click here to load this message in the networking platform