HeaderPane
Main
Hide
Share Link
Print

SftCalendar Object (ISftCalendar Interface)

The SftCalendar object represents a month calendar control: one or more months, or the months of a year, the years of a decade or the decades of a century, in which the user selects a date or a range of dates. Through its Calendar property, the calendar settings can be accessed.

Property/MethodDescription
AboutBoxDisplays product, contact and copyright information.
AccessibleNameDefines the name screen readers announce for the control (an empty string for the label in front of it).
AnnounceHas screen readers announce a text.
AutoSizeDefines whether the control sizes itself to its contents.
CalendarReturns the SftDateCalendar object with the calendar settings.
CalendarTypeDefines the calendar system used by the culture.
CancelModeCancels current processing modes.
CultureDefines the locale whose names and formats are used (an empty string for the user's locale).
CustomCodeDefines optional product customization.
DarkModeDefines the dark mode setting (off, on, or following the Windows setting).
DarkModeActiveReturns whether dark mode is currently active.
DirectReturns an ISftCalendarVTable interface pointer.
DisplayStartDefines the first month shown.
DPIReturns the effective DPI for the control's current monitor.
EnabledDefines whether the control responds to user-generated events.
FirstDisplayedDateReturns the first date shown, adjacent months included.
FocusedDateDefines the date with the keyboard focus.
FontDefines the font used by the control.
GetOptionalCalendarsReturns the calendar systems a locale offers, as an array of SftDateCalendarTypeConstants values.
HasExpiredFor internal use only.
HighContrastActiveReturns whether high contrast is currently active.
HighContrastModeDefines the high contrast setting (off, on, or following the Windows setting).
HitTestDetermines the part of the calendar at a location.
hWndReturns the control's window handle.
ImageScalingDefines whether the pictures of special dates and formatted days are scaled to the current DPI.
LastDisplayedDateReturns the last date shown, adjacent months included.
LicenseReturns the product's license number.
MaxDateDefines the latest date that can be selected.
MinDateDefines the earliest date that can be selected.
MouseIconDefines a custom mouse icon.
MousePointerDefines the mouse pointer used.
OLEDragInitiates an OLE drag & drop operation.
OLEDragModeDefines OLE drag support.
OLEDropModeDefines OLE drop support.
PreferredHeightReturns the height in pixels the control needs for its contents.
PreferredWidthReturns the width in pixels the control needs for its contents.
RangeEndDefines the last date of the selected range; Null when there is none.
RangeStartDefines the first date of the selected range; Null when there is none.
RefreshRepaints the entire control.
RightToLeftDefines whether the control is laid out right to left.
ScrollScrolls the calendar by a number of months, years, decades or centuries (negative values scroll back).
ScrollIntoViewScrolls the calendar so a date is shown.
SelectionModeDefines whether one date or a range of dates is selected.
SetRangeSelects a range of dates (range selection only).
SetRuntimeLicenseFor internal use only.
SingleMonthHeightReturns the height in pixels of one month.
SingleMonthWidthReturns the width in pixels of one month.
UseThemesDefines whether Windows themes are used.
ValueDefines the selected date, or the first date of a range; Null when there is none.
VersionReturns the product's exact version.
ViewDefines the view shown (month, year, decade or century).
WebLicenseDefines the license information for use on one web site.
WindowReturns the control's window handle.
_FlatPropertiesDefines whether properties are stored as a flat list in a property bag.
_getparmRetrieves event parameters.
_OLEOLEFor internal use only.
_PropFileDefines the external file to save/load properties.
_setparmSets event parameters.
_VersionReturns the product's exact version.

See Also Object Hierarchy | SftCalendar Events


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