Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to drop down a combobox when user types '{Enter}'
Message
De
29/11/2004 23:24:45
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00965600
Message ID:
00965606
Vues:
10
>>How do you open a combobox programmatically when user types {Enter} while in it?
>
>By default, Enter moves focus to the next control in the tab order. I'm not sure it's a good idea to change that. Anyway, you can get desired result with following code.
* Combobox Keypress
>LPARAMETERS nKeyCode, nShiftAltCtrl
>IF nKeyCode = 13
>	KEYBOARD "{ALT+DNARROW}" CLEAR PLAIN
>	NODEFAULT
>ENDIF	
>
Sergey,

Your suggestion, as well as John Jones and James Blackburn's, did the job.

Thank you very much for the kind help you always give. I am sure all UT participants appreciate it as much as I do.

Thank you John and James, too.

Alex
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform