Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multi-functional textbox
Message
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00383562
Message ID:
00383726
Views:
16
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform