Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Incremental Search on combo boxes
Message
 
À
10/01/2000 09:48:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00315450
Message ID:
00315486
Vues:
21
>I am having a hard time getting the incremental search function to work with combo boxes. For example, if I had a table of names (Sam,Sonny,Sarah,Steve,Serena) and I want to search through incrementally, I have to type very fast otherwise, it goes only to the next record. I have set the style to 2 but I didn't see any difference. Any help would be appreciated.

Michael,

_DBLCLICK controls the time between keystrokes before VFP assumes a new search is starting. The way I handle this is in my combo box class I add a property named DblClick and in the GotFocus I put;
This.DblClick = _DBLCLICK
_DBLCLICK = 1
and in the LostFocus I put;
_DBLCLICK = This.DblClick
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform