Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Incremental Search on combo boxes
Message
 
To
10/01/2000 09:48:32
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00315450
Message ID:
00315486
Views:
23
>I am having a hard time getting the incremental search function to work with combo boxes. For example, if I had a table of names (Sam,Sonny,Sarah,Steve,Serena) and I want to search through incrementally, I have to type very fast otherwise, it goes only to the next record. I have set the style to 2 but I didn't see any difference. Any help would be appreciated.

Michael,

_DBLCLICK controls the time between keystrokes before VFP assumes a new search is starting. The way I handle this is in my combo box class I add a property named DblClick and in the GotFocus I put;
This.DblClick = _DBLCLICK
_DBLCLICK = 1
and in the LostFocus I put;
_DBLCLICK = This.DblClick
Previous
Reply
Map
View

Click here to load this message in the networking platform