Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TAB and ENTER problem
Message
From
03/05/2001 10:01:55
 
 
To
03/05/2001 09:51:30
Fida Shamsoodeen
Combined Systems (Pty) Ltd
Centurion, South Africa
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00502984
Message ID:
00502992
Views:
15
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform