Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listview vs grid
Message
 
 
To
01/05/2005 22:07:10
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Miscellaneous
Thread ID:
01009998
Message ID:
01010106
Views:
27
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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform