HeaderPane
Main
New productActiveX · C# · .NET · C++ · Access · VB.NET

SftDate/OCX 2.0

Date and calendar controls

Date and calendar ActiveX controls: SftDate, a field for a date, a time, a date and time or a range of dates with a dropdown calendar, time list or clock face, and SftCalendar, a calendar showing one or more months in month, year, decade and century views. Both follow any culture and its calendar system, show special dates with colors, pictures and tooltips, allow empty values and validate input, and together they cover the functions of the DTPicker and MonthView controls as 32-bit and 64-bit controls, with dark mode, high contrast, per-monitor DPI and screen reader support built in. Royalty-free for C#, VB.NET and C++ developers.

  • 32-bit and 64-bit
  • No additional DLLs required
  • Royalty-free
  • 1 year of support included

ActiveX date fields and calendars, in any culture.

Two ActiveX controls in one OCX: SftDate, a field for a date, a time, a date and time or a range of dates with a dropdown calendar and time selection, and SftCalendar, a calendar showing one or more months. Both follow the culture and calendar system of your choice, at home on modern Windows.

Together they cover the functions of the DTPicker and MonthView controls of MSCOMCT2.OCX, as 32-bit and 64-bit controls, and add what those lack: empty fields with a placeholder and a Clear button, date ranges, a time list or clock face, free-form typing, validation events, special dates with colors, pictures and tooltips, and dark mode.

Coming from the DTPicker and MonthView controls? See where each of their functions is found in SftDate/OCX.

Dates and times Date ranges Dropdown calendar Multiple months Special dates Any culture Empty values Dark mode

[/]

Date, time and range fields

One field for a date, a time, a date and time or a range of dates, in the culture's short and long formats or a custom format.

  • Edit one part at a time with keyboard, mouse wheel or up/down buttons
  • Free-form typing, parsed in the culture
  • Empty fields with a placeholder, a check box and a Clear button

[v]

The dropdown

A calendar, a time list or a clock face, or a calendar and a time selection together, opened with the button, F4 or Alt+Down.

  • Full keyboard interface inside the dropdown
  • Never takes the input focus from the field
  • Optionally opens when the field receives the focus

31

A calendar of any size

SftCalendar shows one or more months, side by side and one below the other, in month, year, decade and century views.

  • Single dates or ranges of any length
  • Week numbers according to ISO 8601 or the culture
  • Today and Clear buttons

(*)

Special dates

Holidays and appointments in bold, in their own colors, with pictures and tooltips, once or repeating every week, month or year.

  • A day formatting event for every day shown
  • Disabled days and days of the week
  • Earliest and latest dates

Aa

Any culture and calendar

Any culture and its calendar system, including the Japanese, Taiwan, Korean, Thai Buddhist, Hijri, Um Al Qura, Hebrew and Persian calendars, in years 100 to 9999.

  • Independent of the system settings
  • Right-to-left layouts
  • A complete, documented keyboard interface

OK

Validation and parsing

Values are checked against the earliest and latest dates, then offered to a validation event that can refuse or change them.

  • A text parsing event for input such as "+7" for a week from today
  • Value and range change events
  • Hit testing for every part of both controls

Screenshots

Try it in the demo.

The demo sample, included for C#, VB.NET and Visual C++, shows every kind of field and a two-month calendar, with options for the culture, dark mode, high contrast, week numbers, special dates and ranges.

A modern Windows citizen

Built for how Windows looks and works today.

Version 2.0 follows the system's choices, so your date fields and calendars do too.

Dark mode

One property follows the Windows "Choose your mode" setting or locks dark mode on, dropdown included.

High Contrast

Honors high-contrast themes at your option, as Microsoft's accessibility guidelines require.

Per-Monitor DPI

Scales images and pixel dimensions so the controls stay crisp on every display.

Screen readers

A built-in UI Automation provider works with Narrator, NVDA and JAWS out of the box.

Requirements and distribution

Languages

  • .NET Framework and .NET 10 (C#, VB.NET) applications
  • C++/MFC applications
  • Other ActiveX containers
  • Visual Studio 2019 - 2026

Platforms

  • Windows 10 and newer, including Server editions
  • 32-bit and 64-bit controls
  • UNICODE support
  • Windows Themes support

Installation

  • About 50MB for the developer version
  • Both controls in one OCX file, with no other DLLs required
  • Samples for C#, VB.NET and Visual C++
  • API reference for AI assistants

Distribution and support

  • The OCX controls can be redistributed royalty-free with your application
  • The first year of the annual support subscription is included

Find a License that Fits Your Needs

Licenses

Find a license that fits

Every license includes a full year of support subscription: free product support, new major and minor releases, hotfixes and updates.

Read the license agreement
Single Developer License
$299one developer

For one developer, on any number of their own computers.

25 DevelopersSave 36%
$4,800one license number

One license number covering 25 developers on your team.

Prices in US dollars. 30-day money-back guarantee. Need the source code? Ask sales about an Enterprise License.

Save with the bundle

ActiveX Control Bundle · from $ 699.00

SftBox/OCX 6.0, SftButton/OCX 4.0, SftDate/OCX 2.0, SftMask/OCX 8.0, SftTabs/OCX 7.0 and SftTree/OCX 8.0 in one hugely discounted bundle.

View the bundle