Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moverlist with 3 columns
Message
From
27/10/1998 13:10:06
 
 
To
27/10/1998 06:54:48
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00150831
Message ID:
00151129
Views:
23
I've mande some changes to the orginal code and tested it... this version should work with no problem


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

lnItemID = .lstSelected.IndexToItemID(I)

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

.lstSelected.RemoveItem(I)
Endif
EndFor
EndWith

The reason i'm going from the bottom of the list to the top is to account for multi select being on
Carl
Previous
Reply
Map
View

Click here to load this message in the networking platform