Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Type in dropdown list choice
Message
De
16/12/1997 15:12:27
 
 
À
16/12/1997 15:04:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00066339
Message ID:
00066342
Vues:
32
>>In a combobox set to dropdown list the user can only choose from available selections. However, the user can type to a selection rather than picking it from the list. ie user types t, first selection if any starting with t shows in text portion of combobox. However, I find that typing more than 1 or 2 characters requires some speed to work right. Is there something I can set to increase the amount of time allowed between keypresses?
>
>General speaking, you have unlimited power here but it will take coding in Combo.KeyPress event. The idea is to intercept any key, check time since last interception and make SEEK/LOCATE on rowsource. Does it worth time you will spend?

I believe that the incremental search speed is set by the _dblclick system variable. In the control's gotfocus, issue
_dblclick = 1.5 &&or whatever value

and in the lostfocus set it back to the normal value. To do this right, you would need to store the initial value in either a custom control property, or a form property. HTH
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform