>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)