Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Input Mask Question
Message
De
28/03/2004 14:48:01
 
 
À
28/03/2004 14:15:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00890278
Message ID:
00890287
Vues:
19

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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform