Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Incremental Search in Combobox
Message
De
14/01/2000 06:44:21
 
 
À
14/01/2000 06:00:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00318087
Message ID:
00318096
Vues:
32
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform