Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Incremental Search in Combobox
Message
From
14/01/2000 06:51:57
 
 
To
14/01/2000 06:44:21
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00318087
Message ID:
00318098
Views:
25
Hi Marcia,

Sometimes the easy ones give you the most problems... There was all kind of stuff on the double click timeout in the help files but nothing I saw told me that:

Style = 0 = No Incremental Search
Style = 2 = Incremental Search Ok

< VBG >

... So I guess if you want to have style to be 0 so you can add or edit one could have a control button to toggle back and forth...


Thanks for the rapid reply

>Hi John.
>
>>> Is there some secret to making the incremental search work in a combo box. I have tried every combination I can think of, searched the MSDN help and the UT... When I type a letter nothing happens. <<
>
>Set the style to 2-Drop Down list and set incremental search to .T. (the default). You may also want to add a custom property to your combo called nDblClick and put code like this in its GotFocus()
>
>This.nDblClick = _DBLCLICK
>_DBLCLICK = 1.5
>
>And this in the LostFocus()
>
>_DBLCLICK = This.nDblClick
>
>It is _DBLCLICK that determines how long VFP will "wait" between keystokes before resetting the incremental search.
>
>Marcia
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform