ClearBoldDates

Description

Clears all bold date settings that had been set with SetBoldDate.

Applies to

MonthCalendar control

Syntax

controlname.ClearBoldDates ( )

Argument

Description

controlname

The name of the MonthCalendar control from which you want to clear the bold dates


Return value

Integer.

Returns 0 for success and -1 for failure.

Usage

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.

Examples

This example clears all bold settings in the control monthCalVacations:

integer li_return
li_return = monthCalVacation.ClearBoldDates()

See also

SetBoldDate