Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Search character by character in a listbox.
Message
 
To
28/06/1999 08:42:06
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00234709
Message ID:
00235056
Views:
18
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform