Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Keypress peculiarities
Message
De
19/10/2001 09:25:38
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Keypress peculiarities
Divers
Thread ID:
00570771
Message ID:
00570771
Vues:
37
Greetings all.

A textbox on my form needs to accept only certain alpha/numeric values. If the first entry is a '0' (zero), the TextBox.Value would need to be completed thus: '0EMPT-Y'. Otherwise, the characters will all need to be uppercase alpha like this: 'CAGUK-M' Using ! in Format property and InputMask = 'XXXXX-X', I can get the UPPERCASE and the hyphen in position six, but I need to limit the characters in positions 2-5, and 7 to alpha. I've tried to use KeyPress, but I'm afraid I'm doing something amiss, "'cause it ain't doin' what I want!'" ;-).

Any suggestions would be appreciated.

Thanks,

Tim
Duty is ours, the results are God's - John Quincy Adams
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform