MinDate

Applies to

DatePicker controls

Description

Specifies the minimum date that the user can select in the calendar.

Usage

In a painter

To set the MinDate property:

  • Select a date from the drop-down calendar or type a date in the MinDate field on the General page in the Properties view.

In scripts

The MinDate property takes a Date value. The default is January 1, 1800. You can change this setting to restrict the range of dates a user can select. This example sets MinDate to September 1, 2006:

dp_1.MinDate = Date("2006/09/01")