Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Enter key like in tabstop property of combo
Message
De
19/03/2003 06:04:55
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
19/03/2003 00:49:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00767390
Message ID:
00767427
Vues:
9
>i understand that tabstop property of a combo allows the user to move from one combo to another using the tab key.
>
>but how to do this by pressing the enter key?

You could use keypress event. You might need to check if dropped down (else enter would go to next control by default).
*Click and gotfocus
this.Tag =''

*DropDown
this.Tag ='dropped'

*Keypress
Lparameters nKeyCode, nShiftAltCtrl
If nKeyCode=27
  This.Tag=''
Endif
If nKeyCode=13 And This.Tag='dropped'
  Keyboard '{TAB}'
Endif
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
Répondre
Fil
Voir

Click here to load this message in the networking platform