Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moverlist with 3 columns
Message
From
27/10/1998 06:54:48
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Moverlist with 3 columns
Miscellaneous
Thread ID:
00150831
Message ID:
00150831
Views:
60
In this code, when the second column of lstSelected is moved to the
lstsource it doesn't go to the same line of the first column, but it always goes 2 lines before. What is wrong?

nCnt = 1
DO WHILE nCnt <= THIS.Parent.lstSelected.ListCount
IF THIS.Parent.lstSelected.Selected(nCnt)
THIS.Parent.lstSource.AddItem(THIS.Parent.lstSelected.List(nCnt),THIS.Parent.lstSource.ListCount+1,1)
THIS.Parent.lstSource.AddListItem(THIS.Parent.lstSelected.List(nCnt,2),THIS.Parent.lstSource.ListCount,2)
THIS.Parent.lstSource.AddListItem(THIS.Parent.lstSelected.List(nCnt,3),THIS.Parent.lstSource.ListCount,3)
THIS.Parent.lstSelected.RemoveItem(nCnt)
ELSE
nCnt = nCnt + 1
ENDIF
ENDDO
Antonio Carlos Kleinübing
Systems Analyst
Next
Reply
Map
View

Click here to load this message in the networking platform