Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can not set my OLE Container Control (Calendar)
Message
From
29/09/1997 12:22:15
 
 
To
29/09/1997 12:05:47
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00052142
Message ID:
00052197
Views:
30
>>I am using a OLE Container Control on a FORM called Cal.
>>I got this from "Insert Control" off the "Insert Object FORM".
>>Every time I run DO FROM CAL, the calendar displays the month
>>of JULY and the day is set to July 7, 1997. Does anybody know how to change this date so the calendar will display the system date or current date?
>
>thisform.olecontrol1.day = day(date())
>thisform.olecontrol1.month = month(date())
>thisform.olecontrol1.year = year(date())
>
>You can learn about the calendar control from the help button in the calendar properties.

thanks Erik...that helps alot... :)
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Previous
Reply
Map
View

Click here to load this message in the networking platform