Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Text Box Entry Restriction
Message
De
26/08/2000 21:31:48
Tom Gahagan
Alliance Computer Solutions
Thomaston, Georgie, États-Unis
 
 
À
26/08/2000 20:42:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00409579
Message ID:
00409583
Vues:
21
Rm....

In the textbox valid event....

if myField = 'Y' or myField = 'N'
return 1
else
messagebox('Must be Y or N',48,'Oops')
return 0
endif

If you have space you might put a label to the side of the box that says...
(Enter a Y of N) ... or something to that effect.

You might also put a ! in the format property of the textbox to assure a capital Y or N. If you do not use that you should change the valid code to look for both upper and lower case Y or N.

Hope this helps.
Tom Gahagan
Alliance
Computer Solutions

"Music, like sex, is much too important to be left to professionals."
Robert Shaw
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform