Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Moving items in lists
Message
De
02/02/2007 10:36:55
 
 
À
02/02/2007 10:34:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01191770
Message ID:
01191796
Vues:
8
This message has been marked as the solution to the initial question of the thread.
>You can add items to multi-column listbox using Listbox.AddListItem method instead of AddItem. This way you would have to use RemoveListItem to remove items later.
>
>Could you please provide me some example
Thisform.List1.columncount=2
nCounter=0
Select mytable
Scan
  nCounter=nCounter+1
  Thisform.List1.AddListitem(mytable.field1,nCounter,1)
  Thisform.List1.AddListitem(mytable.field2,nCounter,2)
EndScan
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform