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/Method | Description |
|---|---|
| AboutBox | Displays product, contact and copyright information. |
| AccessibleName | Defines the name screen readers announce for the control (an empty string for the label in front of it). |
| Announce | Has screen readers announce a text. |
| AutoSize | Defines whether the control sizes itself to its contents. |
| Calendar | Returns the SftDateCalendar object with the calendar settings. |
| CalendarType | Defines the calendar system used by the culture. |
| CancelMode | Cancels current processing modes. |
| Culture | Defines the locale whose names and formats are used (an empty string for the user's locale). |
| CustomCode | Defines optional product customization. |
| DarkMode | Defines the dark mode setting (off, on, or following the Windows setting). |
| DarkModeActive | Returns whether dark mode is currently active. |
| Direct | Returns an ISftCalendarVTable interface pointer. |
| DisplayStart | Defines the first month shown. |
| DPI | Returns the effective DPI for the control's current monitor. |
| Enabled | Defines whether the control responds to user-generated events. |
| FirstDisplayedDate | Returns the first date shown, adjacent months included. |
| FocusedDate | Defines the date with the keyboard focus. |
| Font | Defines the font used by the control. |
| GetOptionalCalendars | Returns the calendar systems a locale offers, as an array of SftDateCalendarTypeConstants values. |
| HasExpired | For internal use only. |
| HighContrastActive | Returns whether high contrast is currently active. |
| HighContrastMode | Defines the high contrast setting (off, on, or following the Windows setting). |
| HitTest | Determines the part of the calendar at a location. |
| hWnd | Returns the control's window handle. |
| ImageScaling | Defines whether the pictures of special dates and formatted days are scaled to the current DPI. |
| LastDisplayedDate | Returns the last date shown, adjacent months included. |
| License | Returns the product's license number. |
| MaxDate | Defines the latest date that can be selected. |
| MinDate | Defines the earliest date that can be selected. |
| MouseIcon | Defines a custom mouse icon. |
| MousePointer | Defines the mouse pointer used. |
| OLEDrag | Initiates an OLE drag & drop operation. |
| OLEDragMode | Defines OLE drag support. |
| OLEDropMode | Defines OLE drop support. |
| PreferredHeight | Returns the height in pixels the control needs for its contents. |
| PreferredWidth | Returns the width in pixels the control needs for its contents. |
| RangeEnd | Defines the last date of the selected range; Null when there is none. |
| RangeStart | Defines the first date of the selected range; Null when there is none. |
| Refresh | Repaints the entire control. |
| RightToLeft | Defines whether the control is laid out right to left. |
| Scroll | Scrolls the calendar by a number of months, years, decades or centuries (negative values scroll back). |
| ScrollIntoView | Scrolls the calendar so a date is shown. |
| SelectionMode | Defines whether one date or a range of dates is selected. |
| SetRange | Selects a range of dates (range selection only). |
| SetRuntimeLicense | For internal use only. |
| SingleMonthHeight | Returns the height in pixels of one month. |
| SingleMonthWidth | Returns the width in pixels of one month. |
| UseThemes | Defines whether Windows themes are used. |
| Value | Defines the selected date, or the first date of a range; Null when there is none. |
| Version | Returns the product's exact version. |
| View | Defines the view shown (month, year, decade or century). |
| WebLicense | Defines the license information for use on one web site. |
| Window | Returns the control's window handle. |
| _FlatProperties | Defines whether properties are stored as a flat list in a property bag. |
| _getparm | Retrieves event parameters. |
| _OLEOLE | For internal use only. |
| _PropFile | Defines the external file to save/load properties. |
| _setparm | Sets event parameters. |
| _Version | Returns the product's exact version. |
See Also Object Hierarchy | SftCalendar Events