Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calendar Control .. PLEASE Explain!
Message
From
17/03/1999 13:12:07
 
 
To
17/03/1999 12:58:13
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00198668
Message ID:
00198678
Views:
20
>Ok - I have two questions - one practical to get my app fixed and one "seeking knowledge" regarding my Calendar control problems in general since installing 6.0 on the same machine as 5,0.
>
>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!

>
>2) OK any active x experts please enlighten me - I only want to UNDERSTAND!!! What happened in the install to CHANGE the way this works??? I see that 6.0 isntall created a MSCAL.ocx for version 8 of the calendar, BUT my old form does not reference it! It still refrences the old msacal70.ocx which, unless I'm crazy, hasn't changed. So - the question is - If I'm referencing the same old OCX from the same old form in the same old 5.0a version of VFP - HOW CAN IT POSSIBLE WORK DIFFERENTLY???? There's nothing else involved is there???

Ed already gave you the reasons why for this.


>
>Sorry for the all caps - but this is really frustrating.

I know, it caught me by surprise, too. But now I've coded our use of the calendar object to work with EITHER control.

>
>Ken
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform