Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to open google like dropdown on search
Message
From
04/10/2017 01:26:48
Walter Meester
HoogkarspelNetherlands
 
 
To
03/10/2017 17:26:45
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01654753
Message ID:
01654757
Views:
79
Hi Andrus

I've developed such combobox. I can't give you all the details right now, but the key to what you want to achieve is that you need

KEYBOARD '{ALT+DNARROW}'

In the keypress event when you start typing. Since there is no property to know when the dropdown list is visible, You need a IsDropDown property to keep track of this and set this in various events.

Walter,



>Customer wants google-like helper dropdown for searching like in attached image.
>
>If user types some characters dropdown with best matches should opened and user can select result from this table.
>
>1001 Things YOu Always Wanted To Know About Visual FoxPro
>
>in chapter
>
>What if I need to display hundreds of items in my combo box?
>
>
>describes ComboGrid control. MAybe it can customized to draw grid below search box.
>
>
>How to automatically open dropdown on search ?
>Is it possible to use combobox or other control or should dropdown painted using low-level functions?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform