>i am trying tu use rcsCalendar
>
>I want to pass the current data in my filed to it and then get the selected one back into the field?
>
>I added rcsCalendar to my form
>and have the followinf code
>
>
>WITH THISFORM.oCAL
>
> .LEFT = THIS.LEFT
> .TOP = THIS.TOP + 40
> .lMultiSelect = .F.
> dDate1 = THISFORM.business.DATA.startdate
> .iCurrentYear = YEAR(m.dDate1)
> .iCurrentMonth = MONTH(m.dDate1)
> .iSelectedDateCount = DAY(m.dDate1)
> .RefreshCalendar()
>
> .VISIBLE = .T.
> .ZORDER(0)
>ENDWITH
>
>
>it does not highlight the date passed in through the year/mont/datecount properties!
>Peter
I think it has CurDate property or the like.
Update. I took a closer look as I used this Calendar in our application a while ago.
Have you tried setting aSelectedDates array to the date you want to use?
If it's not broken, fix it until it is.
My Blog