Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can not set my OLE Container Control (Calendar)
Message
De
29/09/1997 12:22:15
 
 
À
29/09/1997 12:05:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00052142
Message ID:
00052197
Vues:
35
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform