Vcl.ComCtrls.TMonthCalendar.MaxSelectRange
Delphi
property MaxSelectRange: Integer read FMaxSelectRange write SetMaxSelectRange default 31;
C++
__property MaxSelectRange = {default=31};
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| property | published | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TMonthCalendar |
Description
Specifies the maximum number of days that can be selected. {{#multireplace:Vcl.ComCtrls.TMonthCalendar.MaxSelectRange|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Vcl.ComCtrls.TCommonCalendar.MaxSelectRange|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Vcl.ComCtrls.TCommonCalendar.MaxSelectRange|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
Specifies the maximum number of days that can be selected.
Use MaxSelectRange to limit the number of days that can be selected when MultiSelect is true. To limit ranges so that they fall between specific date values, use the MaxDate and MinDate properties instead.