Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Incremental search
Message
De
17/08/1998 14:48:53
 
 
À
17/08/1998 14:42:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00127413
Message ID:
00127510
Vues:
29
>>>I am using a textbox and grid to perform and incremental search on a table:
>>>(interactive change code of textbox)
>>>
>>>select table
>>>set near on
>>>seek(allt(this.value))
>>>thisform.grid1.refresh
>>>
>>>This works great except the record mark does not move to the nearest matching record. How can I get the record mark to move with the search?
>>>Thanks,
>>>Dave
>>
>>Add
>>Thisform.Grid1.Setfocus
>
>I was trying to keep the focus on the textbox until the user as finished typing all their search criteria, but apparently the record mark doesn't show up until the grid gets the focus. Can the same thing be done with a textbox and a listbox where the nearest matching record is highlighted?
>Thanks,
>Dave

You can highlight list item (selected property), and you can highlight grid's row.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform