Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Misbehaving ComboBox
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00345022
Message ID:
00345235
Views:
17
Allan,
First, make sure that the "IncrementalSearch" property is set to TRUE. This makes the combo search each letter as it is typed in by the user. If the user types in a string not found in the combo it will go to the nearest record.

Second, if users are typing too slowly so the combo doesn't search for the entire string (instead it will search for each letter in turn as if it were the first letter of a string) then you'll need to change the _dblClick system variable (check it out in the Help system). Change it in the WHEN method of the combo and change it back to the default in the VALID method.

HTH
Barbara

>Ok, it's not exactly misbehaving but...
>
>Im trying to get a ComboBox to do the following
>
>1) Allow the user to type in (if known) the correct 3 digit code, always quicker than using the mouse I find...
>2) Select the correct item from the drop down list by clicking the down arrow (novice uses).
>
>The thing I can't get it to do is...
>
>If you type in the wrong code - the drop down combo need to open and steer you to the nearest code. I'm sure I have seen this done before but how? There is no "OpenList" command so I'm a bit stumped.
>
>I'm sure someone out there knows the answer.
>
>Thanks
>
>Richard Owen
>Kelworth LTD (UK)
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform