Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listview vs grid
Message
 
 
À
01/05/2005 22:07:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Divers
Thread ID:
01009998
Message ID:
01010106
Vues:
30
Jim,

The ListView is much closer to a ListBox than a grid because it's read-only. You've to populate it using Add method so its all data is stored in the memory. As result, it has built in sorting by columns, checkboxes, Icons, e.t.c. I guess, you can consider using it when data you want to display isn't comming from the tables or you want to use some other stuff I mentioned. You can download a VFP ListView sample from http://support.microsoft.com/default.aspx?scid=kb;en-us;253457 and see for yourself what ListView is capable of.

>
>Well, I asked for a brief answer, and I got one! I'm don't understand exactly what you mean when you say that the listview is not data bound -- grids are bound to a table/cursor, but what happens with listviews?
>
>But my main question was why would I choose one over another. But that was answered, in some level of detail, at least, in another response.
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform