Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
InputMask
Message
De
13/03/2007 10:39:16
 
 
À
13/03/2007 09:58:46
Sergio Ortiz
Tek Services Group, Llc
Hollywood, Floride, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows 2000
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01202954
Message ID:
01202982
Vues:
10
Maybe you can use SET POINT TO '-' in the gotfocus() of the textbox, and SET POINT TO '.' in the lostfocus.

>Hello UT,
>
>I am trying to get some input functionality on my textbox.
>The textbox is on a form. Users will input an inspection number.
>The inspection number consiste of two fields in my table.
>
>The fields are inspnum and sequence. Both fields are integers.
>The inspection numbers looks like this :
>
>180115-2
>
>1345-1
>
>1809876-2
>
>The number after the dash character is the sequence number.
>
>I would like to have the following functionality :
>
>As users enter the number as soon as the key the dash then they can only input the sequence number. I gues is similar to entering money amounts, as soon as the enter the decimal point the input get formated and only can enter two decimals number.
>
>Any help is greatly appreciated.
>
>Thanks,
>Sergio
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform