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:05:47
 
 
À
29/09/1997 09:48:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00052142
Message ID:
00052193
Vues:
33
>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.
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform