Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Another small TIP
Message
De
05/10/1999 15:30:21
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Another small TIP
Divers
Thread ID:
00272892
Message ID:
00272892
Vues:
58
Since I continue to see lots of troubles with AddItem and AddListItem, and it's no wonder considering the need to use a lawyer to read their documentation entries successfully, here's a simple little hint to save lots of trouble:

Use the List and possibly the ListItem property instead! As long as you don't need to play with the nItemID thingy, it's as simple as that. No surprises (other than the fact that a "property" can do these things in the first place).

For your information, here is a paste of the preamble from the Hacker's Guide for these properties:

----- start of excerpt -----------

These two properties are arrays that give you access to the data in a list or combo box. These are very, very cool properties. They not only let you look up the information, but also let you change it when appropriate.

----- end of excerpt ----------

Hope this helps someone,

Jim N
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform