>I am using the _olecalendar.vcx class on a form. When I try to use the GETDAYBOLD event to bold a certain date I keep having problems with the 'state' lparameter. What is this used for. I'm not sure what I need to put in the GETDAYBOLD event to make this bold a certain day. Can anyone point me in the right direction.
Hi Justin,
A sample code below shows how to make all Sundays bold
LPARAMETERS startdate, count, state
ldDate = TTOD(startdate)
FOR i=1 TO count
IF CDOW(ldDate) = "Sunday"
state(i) = .T.
ENDIF
ldDate = ldDate + 1
ENDFOR
Check also
Re: MonthView and GetDayBold error -- again Thread #
546030.
--sb--