Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Enforcing valid date into textbox
Message
From
05/03/2007 01:42:01
 
 
To
04/03/2007 17:17:20
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01200381
Message ID:
01200639
Views:
30
>>>How do I enforce a valid date on a textbox. The textbox is defined as char at the moment and in the init= thisform.textbox1.value=DATE() and
>>>thisform.textbox1.Format='D' . However, I can enter bogus dates.
>>
>>Simply make it bound to some date value. If u need character representation
>>of it, you can keep it parallely stored in some property.
>
>No need to invent such a property. Use .textbox.text, it's a dtoc() of the .value. Note that the property is readonly.


I did not know that such propery exist ...
Every day we learn something new :)
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Previous
Reply
Map
View

Click here to load this message in the networking platform