Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calendar Control .. PLEASE Explain!
Message
From
17/03/1999 13:26:36
 
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00198668
Message ID:
00198699
Views:
18
Fred - does the "old" version work setting the MONTH/DAY/YEAR props you specifiy? Also, FYI - I found that it is not necessary to specify the .object ref when setting it this way, although I probably will just to be safe for whatever MS comes up with next. Any idea why they got away from letting you set the .object.value property directly.

thanks for the help!
Ken


>>1) I can now access the current date via calendar.object.value - great. But - how the heck do I set it? attempts at calendar.object.value = date() or calendar.object.value = datetime() or the character versions of those values all end up with a "type mismatch" error.
>
>You have to specify the date using the Month/Day/Year properties of the control. Don't forget the OBJECT reference!
me by surprise, too. But now I've coded our use of the calendar object to work with EITHER control.
Ken B. Matson
GCom2 Solutions
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform