HeaderPane
Main
Hide
Share Link
Print

Comparison with the DTPicker and MonthView Controls

The Microsoft Windows Common Controls-2 (MSCOMCT2.OCX) include the date and time picker (DTPicker) and the month calendar (MonthView) ActiveX controls, which many applications written using Visual Basic 6 and Office VBA use. MSCOMCT2.OCX exists only as a 32-bit control: it cannot be used in 64-bit applications, including 64-bit Office.

SftDate/OCX covers the functions of both controls with its date field control (SftDate) and month calendar control (SftCalendar), as 32-bit and 64-bit controls. It is not a drop-in replacement: its properties, methods and events have their own names, and the settings of the dropdown calendar are defined using the same SftDateCalendar object as the settings of a month calendar control. This table shows where each function of the Microsoft controls is found.

DTPicker

DTPickerSftDate/OCX (SftDate)
ValueValue, a Date or Null
CheckBox (Value is Null while the check box is cleared)ShowCheckBox and Checked; AllowEmpty for empty fields without a check box, with PlaceholderText and ShowClearButton
MinDate, MaxDateMinDate, MaxDate, within the years 100 to 9999 and in the culture's calendar system
Format, CustomFormatFormat, CustomFormat (see Formats)
Callback fields (X in CustomFormat) and their eventsNo callback fields; the TextParsing event parses text typed in free-form editing, the KeyDown event handles keys
UpDownButtons, which also offers both the dropdown and the up/down buttons, or none
ChangeValueChanged, preceded by ValueValidating for changes the user makes, which can refuse or change the value
DropDown, CloseUpDropDownOpening, DropDownOpened, DropDownClosed; OpenDropDown, CloseDropDown, DroppedDown
CalendarBackColor, CalendarForeColor, CalendarTitleBackColor, CalendarTitleForeColorCalendar.BackColor and the other 15 colors of the calendar, and the field's own BackColor, ForeColor and other colors

MonthView

MonthViewSftDate/OCX (SftCalendar)
ValueValue, a Date or Null
MultiSelect, MaxSelCount, SelStart, SelEndSelectionMode, MaxRangeDays (no limit by default), RangeStart, RangeEnd, SetRange
MonthColumns, MonthRowsMonthsAcross, MonthsDown (up to 12 each)
StartOfWeekFirstDayOfWeek
ShowWeekNumbersShowWeekNumbers, WeekNumberRule
ShowTodayShowTodayButton, HighlightToday, TodayDate
GetDayBold eventSpecial dates (SpecialDates) with recurrence, bold text, colors, pictures and tooltips, and the DayFormatting event
DateClick, DateDblClickDateActivated, ValueChanged, MouseDblClk with HitTest
MonthBackColor, TitleBackColor, TitleForeColor, TrailingForeColorBackColor, TitleBackColor, TitleForeColor, TrailingForeColor and the other colors of the calendar

Beyond the Microsoft Controls


Last Updated 11/29/2026 - (email)
© 2026 Softel vdm, Inc.