Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Click event vs keypress
Message
De
11/12/2001 07:44:24
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00592124
Message ID:
00592586
Vues:
22
>>>Is there a way to discern between clicking in a listbox and hitting ENTER? When I do hit enter, the click event fires as well.
>>
>>Haven't tested but off the top of my head...
>>
>>
>>IF LASTKEY() = 13 && enter key was pressed
>>ENDIF
>
>Yes, thanks!

If keyboard is not used after last [ENTER] on another object lastkey() still would return 13. At least support it by :
and !mdown().
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform