Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting the Enter Key to behave like the tab key
Message
De
07/05/2001 01:15:26
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00503461
Message ID:
00504070
Vues:
23
>>Hi,
>>
>>In certain forms of ours when a users presses their enter key the curosr behaves as if it where on a on of the tab within the form. How do we make certain that the enter key behaves the same way as the tab key?
>>
>>larry
>
>Make sure you don't set the Default property to .T. for any button. If a button has the property set, it will automatically be selected if the user hits the Enter key.

In cases when that's not feasible, fake tab for each enter in textbox.keypress, i.e.
... case nKeyCode=13
   nodefault
   keyb "{tab}" plain
...

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform