Skip to content

SetSelectedDate - cMonthCalendar

Used to set date for a single select calendar

Type: Procedure

Parameters

Parameter Type Description
dDate Date The date to set

Syntax

Procedure SetSelectedDate Date dDate

Call Example

Send SetSelectedDate dDate

Description

SetSelectedDate is used to set the date of the calendar when used for single selection (pbMultiSelect is False). This is used most often to set the starting date of a calendar before the calendar control is paged.

Use SelectedDateRange and SetSelectedDateRange when working with multi-select calendars.