Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listview vs grid
Message
 
To
01/05/2005 22:31:41
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:
01010201
Views:
22
Grids are not bad.

But - outside of VFP - most data is shunted using "node" script. Working with OCX controls is a good place to beging to understand how this stuff works. It can easily be translated to almost any object opened with "CREATEOBJECT" (and there are a bunch of those that we can extend VFP with).

A few months back, for example, I was working with the MSXML.DOMDocument (translating from a Sun/Apache dom-tree - MS and IIS. Because of my experience scripting OCX (list view, treeview) - that part of the project went very quickly. It is hard for me to imagine someone with little (or no) experience with node scripting (OCX or otherwise) could have worked it in the time I did.

What better place to start that a small orgainzation. Take one small part of your project that uses a grid and just try to solve it with listview - when you solve it - you should notice as I did - that there is no comparison.

No rah-rahs - the reason VFP fell into disfavor with the application - consuming public was (aside fromf MS telling every one to move to VB:-) were consultants delivering low value projects centered around grids and browse windows. That really messed us up.

Imagine - as cool as you project is - how much cooler it could be wiith OCX (list/tree/imagelist/toolbar - and all them othe guys (DOM et 'al)

>Terry --
>
>Thanks for your response. I had seen some references in listviews in this forum, and wondered if I should consider using them instead of grids. I can't see that there's any reason (so far, that is) for me to do so.
>
>Your message seemed rather rah-rah for listviews, so I think I'll explain a little:
>
>My applications are in fact designed for analysts to quickly assess data sets, and, as you said, grids are great for doing exactly that. I've already got column sorting for all columns (with extra features on top of that), and speed and multiple selects are not of much importance. Platform independence isn't much of an issue when you work for a really small organization ...
>
>As for listviews being sexy, I don't know much about that. My organization is so low-tech that they're willing to be satisfied by applications that help them run their business more efficiently.
>
>Cheers,
>
>Jim
>
>
>>>Briefly, what is the difference in functionality between a listview and a grid? What would I gain or lose by using listviews instead of grids?
>>>
>>>Thanks
>>
>>List views are cached - that means they're fast cause everything is in memory. List views also have column sorting (for every column) and no index required.
>>
>>Listviews alos have a realtime slider - grids are snap to!
>>
>>List views have multiple selects.
>>
>>lIst views have keys.
>>
>>
>>List views are sexy.
>>
>>List views are OCX (less plateform dependent).
>>
>>With OCX you can have all your OCX navigators/listers flow through a single "node click" method - great for synchronizing modeless GUIs.
>>
>>
>>Grids are great for "analysts" that use VFP to (quickly) assess data sets.
>>
>>Grids are really just browse windows with settings!
>>
>>Girls prefer guys that code listviews over grid heads 10 to 1~:-)
Imagination is more important than knowledge
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform