Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TAB and ENTER problem
Message
 
 
À
03/05/2001 09:51:30
Fida Shamsoodeen
Combined Systems (Pty) Ltd
Centurion, Afrique du Sud
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00502984
Message ID:
00502992
Vues:
14
Hi!

In the KeyPress event put following code:

if nKeyCode=9 && Tab character code
KEYBOARD "{ENTER}"
nodefault
endif

Instead of the KEYBOARD "{ENTER}" command you can also call functionality that Enter key does.

HTH.

>Hi All
>
>Can anyone please help with this problem.
>
>I have a numeric field for price, when I type in 100 and press ENTER it shows 100.00 which is correct BUT when I type in 100 and press TAB then it shows 1000.00 . Does anyone know how to rectify this problem.
>
>Thanks in Advance
>Fida
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform