Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IE Style drop down
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00459286
Message ID:
00459642
Views:
20
John-Paul,
As Len says, remove the "T". Also look in the Files section for "Quicken-style" combos which do this kind of lookup.

Finally, the _dblclick setting (set in the ControlPanel/Mouse area of your OS) controls the speed you need to type. You can change this internally in VFP by setting it to a larger number in the Combo's GotFocus() code and resetting it to the default in the LostFocus() code
Gotfocus()
thisform.dblclk = _dblclick   && Puts the existing value into a form variable
_dblclick = 2    && Much slower
return

LostFocus()
_dblclick = thisform.dblclk   && resets to the original value
return
HTH
Barbara


>Does anyone have a way to mimic the automatic filling in of a text box a la IE5 as the user types in a previously visited web page. I don't want to use a combo because it seems you have to type very fast to get it to find exact matxhes as you type. I have got about half way there but the code doesn't work when I try and type a space...
>
>(The user is searching for an airline...)
>(text1 has a format of 'KT')
>text1.interactivechange
>------
>thisform.caption=allt(str(len(this.value)))
>lnCurLen=len(this.value)
>
>oldsetex=set("exact")
>set exact off
>if seek(this.value,'Airlines','Airline')
> lcfa=allt(airlines.airline)
> this.value=left(this.value,lnCurLen)+RTRIM(substr(lcfa,lnCurLen+1,32))
> this.selstart=lnCurLen
> this.sellength=len(this.value)-lnCurLen
>endif
>set exact &oldsetex
>------
>
>Any help much appreciated.
>
>John-Paul Knight
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform