Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Input masks
Message
De
15/07/2004 09:57:16
Larry Long
ProgRes (Programming Resources)
Georgie, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Input masks
Divers
Thread ID:
00924656
Message ID:
00924656
Vues:
43
Hello all,
I have a textbox that I want to default (read force) a prefix containing an alpha-numeric value such as '1234-0C'. The first 4 numbers come from a project number that I don't want the users to be able to change. I was thinking of using an inputmask...

object.inputmask=str(projnum,4)+'-'+repl('!',10)

It works except when there is a "9" in projnum. Any ideas other than breaking it up into 2 textboxes?.

TIA
L.A.Long
ProgRes
lalong1@charter.net
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform