Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with incremental search in combo box.
Message
 
 
To
08/05/1998 19:21:43
Paul De Niverville
Deniverville Econometric Research Ltd.
Victoria, British Columbia, Canada
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00098236
Message ID:
00098286
Views:
24
Hi Paul,

You are probably going to have to place code in the KeyPress() Event that does something like:

NoDefault
*/ Check what key was pressed
*/ Depending on the key, add the value of the key to some custom property
*/ of the listbox class
*/ Search through the items in the list box to see if there is a match and
*/ set the ListItemID Property of the Listbox accordingly.
*/ For keys like backspace, you would remove the rightmost character, and
*/ do the search again.


HTH
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform