Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid search
Message
De
06/11/2003 11:26:14
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
06/11/2003 10:42:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00847144
Message ID:
00847179
Vues:
19
>Ok , i have a grid in a form with a list of item ( like 4000 items)
>
>so its long to scrool down the list.
>
>It is possible to click on the grid and type the item and it will go on the near one

That is exactly what the Visual Extend framework does. By intercepting the KeyPress() event, data is sent to a special incremental search method.

First, an index must be set. Visual Extend will search if there is an index on the search expression (a field, in the simplest case). If there isn't, it will create a temporary index (IDX).

>or maybe another solution ?

Another feature which this same framework offers is a user-defined filter.

Both features, of course, are defined in the base classes. All forms must be derived from these classes.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform