Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Filling a multi-column ListBox
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00040242
Message ID:
00040386
Vues:
48
>Elyse,
>
>You really CANNOT do this with AddItem - it is my "pet peeve" with VFP and its documentation!
>
>I strongly suggest that you use the List property to do what you need . List doesn't seem to be an "action" type function, but it actually is!
>The undocumented "problem" with AddItem is that each invokation results in a new row being added *BY DESIGN*.
>You could achieve success with AddListItem, but if you ever plan on deleting any of the rows, then STAY AWAY FROM THIS ONE TOO! List does anything most people need except to "maintain" an ItemID list.
>

Thanks for noting that you must use AddListItem, not AddItem. Then it works fine...But I'm not sure what trouble deleting you're referring to, RemoveListItem works fine AFAIK if used properly...that is, it's no worse then a single column list with RemoveItem...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform