MaxSelectCount

Applies to

MonthCalendar controls

Description

Specifies the maximum number of days the user can select in the calendar.

Usage


In a painter

StepsTo set the MaxSelectCount property:

  1. Select a number from the MaxSelectCount spin control on the General page in the Properties view.


In scripts

The MaxSelectCount property takes an integer value between 1 and 360. The default is 31. You can change this setting to enable users to select fewer or more than 31 days in the calendar and before calling the SetSelectedRange function if you want to set a different limit. This example sets MaxSelectCount to 7:

mc_1.MaxSelectCount = 7