Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to open google like dropdown on search
Message
De
04/10/2017 01:26:48
Walter Meester
HoogkarspelPays-Bas
 
 
À
03/10/2017 17:26:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01654753
Message ID:
01654757
Vues:
78
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?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform