Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multi-functional textbox
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00383562
Message ID:
00383726
Vues:
19
Nadya,

Try it. Setting the txt.Value to another type at runtime completely changes it's behavior.

Put a txt on a form and two command buttons. In one click thisform.text1.Value = date() in the other thisform.text1.Value = 1234. Run the form, type some text, click a button and now you can only type the appropriate keys for that data type.

>
>I thought the same as you suggested, but here is a problem: Once assigned textbox value, say, 0, could not be changed to {} after all, right?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform