Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Do FORM vs. createobject()
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00859255
Message ID:
00859392
Vues:
19
>>... grids, to ListViews.
>

>Benefits (and pros and cons?

Pros:
LV has a real time slider (opposed to grid's snap to)
LV is cached, pointers are set quickly
LV allows [all] column sorts without index
LV offers multi-select
LV offers image
LV is what consumers are "used" to (grid is mostly a VFP phenomena)
LV is fast
LV PRG frameworks are easily generalized and adapt well to other projects
LV automation script is the same as most of the other "sexy" OCX controls
LV scripting skills enhance our practical understanding of OOP.

Cons:
Cannot bind to a data source. Rows and columns must be programtically added and updated (no direct entry except for "main" or listitem column - script code can be tedious:-) Grids may be edited directly (like a spread sheet). It could be argued, however, that [over] reliance on grid entry solutions may not be putting the best face on Foxpro.

Skills with VFP's mean record pointing machine. SEEK and loop, the the speed of light, through the data rather than SELECT. To retrieve data, code must back point to the source "cursor". Edit changes will have to be written back to both source cursor and LV control (tedious script).

Over zealous truncation of column values related to column width. Puts those little "......" dots, when the column is plenty wide.

Imagecontrol learning curve should bmps or icons be used with LV

VB Script learning curve

They become addictive:-)
Imagination is more important than knowledge
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform