Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Moverlist with 3 columns
Message
De
27/10/1998 06:54:48
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Moverlist with 3 columns
Divers
Thread ID:
00150831
Message ID:
00150831
Vues:
61
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform