Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Control
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00431847
Message ID:
00431891
Vues:
13
>Hello,
>
>What I would like to do is as I type text into the field, I would like the table searched and the corresponding record

You can use the keypress event to seek after each keypress, but if the table isn't small, this can be a little too slow. You can add a timer set to about .5sec which is enabled with the text box gets focus. My keypress event resets the timer. Then if the user pauses slightly, the search is performed.
Disable the timer in the lostfocus (and seek again in case they tab or enter before pausing.)


>I have seen this done, and am trying to do this, but I can't get the record to highlight.

see Thread #429840 for a number of options on this.

HTH
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform