>I have a combo box with the incremental search value set to .t.
>it will only permit one key stroke for the search. I would like to
>be able to input multiple keys to get close to the data record we want. Has anyone had any sucess with this.
John,
The system variable _DBLCLICK controls how long fox will wait for another keystroke before starting a new search string. You can create a combobx class, give it new properties name DblClick and OldDblClick, then isn its GotFocus put;
THIS.OlDblClick = _DBLCLICK
_DBLCLICK = THIS.DblClick
Then in the lostfocus put
_DBLCLICK = THIS.OldDblClick
Give the DblClick property a default vlaue of anything you like in the class designers property sheet. Then use that combo class for your combos. In any fomr you can change the DblClcik property to be whatever you want it ot be. It represents the numer of seconds that fox will wait for another keystroke.