Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Input mask in textbox
Message
From
15/02/2000 14:34:41
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
15/02/2000 13:34:40
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00332353
Message ID:
00332396
Views:
10
>If you have an input mask in a textbox to accept a decimal (say '999.99') and you just click on the box and enter, the results are strange. For example, you type 45 and you get 450.00 because the cursor was to the left of the box. If the is entered into via the tab order, then the whole thing is selected and all is well.
>
>I have told my user to be sure to select the whole box before entering, but I was wondering if there is another way to handle this.
>
>Thanks


In click you could have this.setfocus().
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
Previous
Reply
Map
View

Click here to load this message in the networking platform