Walter Meester
HoogkarspelPays-Bas
Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement