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:04:14
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, États-Unis
 
 
À
29/11/2004 22:57:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00965600
Message ID:
00965601
Vues:
9
Alejandro,

I have not tried this but it should work.
Keypress event
LPARAMETERS nKeyCode, nShiftAltCtrl
if nKeyCode = 13
  keyboard '{f4}'
endif 
UPDATE
Not sure what happens if enter is pressed to select from list. You may have to have a flag so keyboard won't happen when the list is showing.

>How do you open a combobox programmatically when user types {Enter} while in it?
>
>TIA,
>
>Alex
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform