Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing respond time for quickfill in combobox 4

Status
Not open for further replies.

keepsafe

Programmer
Sep 22, 2009
14
US
Many users are slow typer and with a slight pause in typing will cause the quickfill to go the another value. Example:
looking "John Smith" the user type "Jo" and he pause a faction of a second and type "h" now the quickfill will display all the name starting with "h". So is there anyway to change the timing or disabling the timing?
 

I believe (even though not all 100% sure) that this behavior has nothing to do with FoxPro, but with Windows settings. Keyboard response speed can be adjusted through Control Panel -> Keyboard and Control Panel -> Accessibility Options or a similar settings utility, depending on the Windows version.

 
Hi Keepsafe,

Depends which version of VFP you are using. In the most recent versions (7.0 and up, I think, but am not sure), you use the _INCSEEK system variables.

In earlier versions, use _DBLCLICK.

Mike


__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro tips, advice, training, consultancy
Custom software for your business
 

Mike,

_DBLCLICK? Isn't it for the mouse click speed? I didn't know it affects keyboard speed.
 
The Keyboard Speed in the control panel seem to be for the repeat delay and repeat rate. Try changing them and it seem to have no affect on how fast a person can type
 
Stella, nevertheless _DLCLICK was used for the maximum interval between kepresses for incremental search, before _INCSEEK was introduced.

VFP9 help says: _DBLCLICK applies to double click rate only and not to incremental search key capture period as in versions of Visual FoxPro prior to version 7.

Which means prior to VFP7 _DLBCLICK *was* also the interval for incremental search. I know i've used it in VFP6.

That setting is not the only thing. You can type as fast as you can, if the Combobox is not yet focused correctly incremental search won't work.

Keyboard HArdware or windows setting will only influence the key repeat time if you hold a key down for a second or so it'll be "pressed" repeadedly, that has no influence on VFP's incremental search.

Try and set _INCSEEK to a higher value, eg 1.5 seconds (I suppose you have VFP7 or higher).

Bye, Olaf.

 
Yes, _DBLCLICK did double-duty. I know it's a bit odd to tie double-click rate and incremental search, but that's just FoxPro for you.

As far as I can see, _INCSEEK arrived in VFP 7.0. According to the Hackers Guide for VFP 6.0:

What does the speed at which you type into a combo or list have to do with clicking? This was a bad call when it was set up this way; Microsoft really ought to bite the bullet and add a new variable to control incremental search speed, backward compatibility notwithstanding.

Clearly, the bullet was bitten.

Mike


__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro tips, advice, training, consultancy
Custom software for your business
 
The _incseek variable did the trick. Thanks alot for all your input.
 

Thanks, guys.

Learned something new (to me) today.

I am still with VFP6, so _INCSEEK is a guest from the future to me, and I never really had to use incremental search that much, so I didn't know about _DBLCLICK's double duty.

For some years now, I work on in-house apps only, used by ourselves most of the time, and by other programmers occassionally, and one is used by a couple of "power users" once in a blue moon. So far, typing speed has never been an issue.
 
Just my two cents here. Could you use a custom auto complete text or combo? I've used an auto complete combo for years starting with VFP6 and it works great. I found some sample code online and tweaked it for my purposes.

Auguy
Northwest Ohio
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top