Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Input Mask Question
Message
From
28/03/2004 14:48:01
 
 
To
28/03/2004 14:15:54
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00890278
Message ID:
00890287
Views:
20

I like for numbers displayed in a text box to have the 1000's separated by a comma,
i.e, 10,000 or 102,000. I can make this happen by setting the Input Mask to "999,999,999."
However, the input mask is also active when keying the data.
This is confusing for the user because as the numbers are keyed,
they show up from left to right, thus, 1000 looks like "100,0"
until you hit the enter key when it changes to "1,000"


The input of the numbers in VFP it is completely mistaken.
The textBox.Text property, for a number, must to be filled from right to the left ( like Excel ).
Practically the TextBox has not been completed, and for numeric input it is a poor area of editing.
( For Data,Datetime it have a internal logic control )

AFAIK, you must control the
-Value
-SelStart
-SelLen
....
into the Keypress, and use NODEFAULT for skip VFP input.

But it is not simple with a ControlSource binded or into a Grid.

Fabio
Previous
Reply
Map
View

Click here to load this message in the networking platform