Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Search character by character in a listbox.
Message
 
À
28/06/1999 08:42:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00234709
Message ID:
00235056
Vues:
19
Mårten,
In the InterActiveChange() method of the textbox, try using the ASCAN() function to check your array for the characters. Then set the SelectedID value to the array row found with AScan. It's a faster version of Nikki's code.

Barbara


>I have a listbox which shows an array with names and a textbox where I input my search characters. Now I want the listbox to jump to the right place whenever I input a new character in my textbox. For example: If I press C then it jump to the first name starting with C and if I then press A it jump to the first name starting with CA and so on...
>
>How do I do that?
>
>Thanks in prior!
>
>/Mårten
Barbara Paltiel, Paltiel Inc.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform