Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Incremental search in combo boxes
Message
 
 
À
06/02/2001 15:53:47
Roy Macfarland
Cheboygan County Gis Division
Cheboygan, Michigan, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00473156
Message ID:
00473161
Vues:
22
>Trying to find out why the incremental search behavior of a combo box takes each keystroke as a new input. How do you change it? And where?

I'm not sure what you mean but here's a shot.

In order to make the incremental search use multiple keystrokes in one search, those keystrokes must occur within the time period specified by the _DblClick system memory variable. This defaults to .5 seconds so you have to type fast. One technique is to have a subclass of the Combo with a property to hold the _DblCLick value. Store off the value in the GotFocus of the control and set it to something longer (e.g. 1 second). In the LostFocus, reset it to its orginal setting.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform