Clears all bold date settings that had been set with SetBoldDate.
MonthCalendar control
controlname.ClearBoldDates ( )
Argument |
Description |
---|---|
controlname |
The name of the MonthCalendar control from which you want to clear the bold dates |
Integer. Returns 0 for success and -1 for failure.
You can use the SetBoldDate function to specify that selected dates, such as holidays, display in bold. ClearBoldDates clears all such settings. To clear individual bold dates, use the SetBoldDate function with the onoff parameter set to false.
This example clears all bold settings in the control monthCalVacations:
integer li_return li_return = monthCalVacation.ClearBoldDates()