DatePicker

The DatePicker control allows the user to pick a date value using a ComboBox selection for the Month, Day, and Year components of the date.

Properties

Key properties of DatePicker include:

  • DisplayDate. Today’s date is the default display date, however a different default date may be specified.
  • DisplayDateStart and DisplayDateEnd. A date range may be specified for validation purposes.
  • Selected Date. The date last selected in the form can be passed as a parameter in a Python script.

Events

Key events associated with a DatePicker include:

  • SelectedDate. A Python script can be configured for execution when a date is selected.

To select a date, click on the Calendar icon to open the calendar. Use the arrow controls to select the Month and Year and then select a Day of the Month.

Setting up a Date Picker