xbCalendar - Example 4

Back to xbCalendar manpage

Example 4 demonstrates how to use xbCalendar's ondatechange event to filter/restrict the dates a user may choose from. In this case, an ondatechange event handler prevents you from choosing dates that fall on Mondays unless it's the first of the month.