Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_olecalendar
Message
 
 
To
17/10/2006 12:12:51
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Novell 6.x
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01161935
Message ID:
01162609
Views:
21
The GetDayBold() is an event not method. You don't call it. It's triggered internaly in MonthViev control when appropriate.

>Can you show me the code you used calling the GETDAYBOLD event. Maybe I'm not passing the state array correctly.
>Here is how I am doing it. This should just bold the current day. Should be real simple.
>
>
>****INIT****
>rdttime = DATETIME()
>Local array state1(1)
>state1(1)= .F.
>thisformset.calendar._olecalendar1.GetDayBold(TTOD(rdttime), 1, @state1)
>
>****GETDAYBOLD****
>*** ActiveX Control Event ***
>LPARAMETERS startdate, count, state
>FOR i=1 TO count
>   state(i) = .T.
>   startdate = startdate + 1
>ENDFOR
>this.refresh
>
>
>I don't get any errors but nothing is bold either. Maybe you can see what I am doing wrong.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform