Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Date-Time Picker
Message
From
04/02/1999 11:24:03
 
 
To
02/02/1999 16:55:18
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00182943
Message ID:
00183911
Views:
13
>IF I remember we had to set it with the day, month, and year properties.

Well, I have tried this and I got a number of errors because these properties appear to be Read-Only.

My way of doing it (I'm not sure it's the bast way), is to narrow the MinDate and MaxDate properties to the date we want to set, and as a side effect, the value property is changed to this date.

>>Also, make sure you set the format type to custom. Not sure what you mean by >> conflicts.

Programmatically, I cannot set the "format" property. VFP rejects this and says that this is an event (Method, Object or event). I find it also very strange to have a "Format" property and a "Format" event !

>The problem we had, that made us trash such a nice looking control, was the if >>we cound it to a date field, and did an append blank, the control would tell >>us the date was out of range. We were unable to put an empty date in the min >> date field, nor were we able to put null.

You got a point!



Thank you Bob
Previous
Reply
Map
View

Click here to load this message in the networking platform