Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calendar Control .. PLEASE Explain!
Message
De
17/03/1999 13:26:36
 
 
À
17/03/1999 13:12:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00198668
Message ID:
00198699
Vues:
19
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform