>> Depending on your UDF coding it may be that the parameter requires quotes like: .Daybold('thisform.monthview.VisibleDays(1)')<<
I am sorry, but you are way off base here. VisibleDays is not a UDF. It is an array property of the monthView control that contains an array of dates: one for each date being displayed in the control.
>> Also, the property "DayBold" may not be set up to take this type of parameter at all <<
The DayBold property does not require a character parameter. It is an array property of the MonthView control that contains true if the date is displayed using a bold font. It is indexed by date.
So theoretically, wbehning's code should work. Unfortunately, it doesn't. I can reproduce the error and I have not been able to figure out how to get it to work.
Here's the code I used to test this and I'm providing it for the other members who may wish to see this error reproduced and try some other things with it. (Cut-n-paste code below into a prg file and run it)
PUBLIC oForm
oForm = CREATEOBJECT("clsMonthView"
oForm.visible = .T.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.