Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Control
Message
 
À
19/10/2000 17:19:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00431847
Message ID:
00431855
Vues:
12
Try this:
In the lost focus event:

if seek(MyKey,"MyTable","MyIndex")
MyForm.MyGrid.SetFocus
MyForm.MyGrid.Refresh
Else
* Process Key not in Table
endif


>Hello,
>
>I have a form with a Grid control on it tied to an indexed table. I also have a text field on the form. What I would like to do is as I type text into the field, I would like the table searched and the corresponding record in the grid highlighted (or the one most closely matching).
>
>I have seen this done, and am trying to do this, but I can't get the record to highlight.
>
>Any suggestions?
>
>Thanks All!
Imagination is more important than knowledge
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform