HeaderPane
Main
Hide
Share Link
Print

SftDate Object (ISftDate Interface)

The SftDate object represents a date field control: a date, a time or both, edited in parts or as free text, with a dropdown calendar, time list or clock. Through its Calendar property, the settings of the dropdown calendar 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).
AllowEmptyDefines whether the field can be empty.
AnnounceHas screen readers announce a text.
AutoAdvanceDefines whether a completely typed part moves on to the next part.
AutoSizeDefines whether the control sizes itself to its contents.
BackColorDefines the field's background color.
BorderColorDefines the color of the field's thin border.
BorderStyleDefines the field's border.
ButtonsDefines the buttons shown in the field.
CalendarReturns the SftDateCalendar object with the calendar settings.
CalendarTypeDefines the calendar system used by the culture.
CancelModeCancels current processing modes.
CheckedDefines whether the check box is checked.
CloseDropDownCloses the dropdown.
CultureDefines the locale whose names and formats are used (an empty string for the user's locale).
CustomCodeDefines optional product customization.
CustomFormatDefines the custom date and time format (Format property set to formatSftDateCustom).
DarkModeDefines the dark mode setting (off, on, or following the Windows setting).
DarkModeActiveReturns whether dark mode is currently active.
DefaultTextDefines a text such as =Today that sets the value relative to the current date when it is set and when the control is loaded.
DirectReturns an ISftDateVTable interface pointer.
DPIReturns the effective DPI for the control's current monitor.
DropDownAlignmentDefines how the dropdown is aligned with the field.
DropDownContentDefines what the dropdown shows.
DropOnFocusDefines whether the dropdown opens when the field gets the input focus.
DroppedDownReturns whether the dropdown is open.
EditStyleDefines whether the parts are edited one at a time or the text is typed freely.
EnabledDefines whether the control responds to user-generated events.
FontDefines the font used by the control.
ForeColorDefines the field's text color.
FormatDefines the format of the date and time shown.
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 field 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.
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.
OpenDropDownOpens the dropdown.
PlaceholderForeColorDefines the color of the placeholder text.
PlaceholderTextDefines the text shown while the field is empty.
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.
RangeSeparatorDefines the text shown between the first and last date of a range.
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.
SegmentHighlightBackColorDefines the background color of the part being edited.
SegmentHighlightForeColorDefines the text color of the part being edited.
SelectionModeDefines whether one date or a range of dates is selected.
SetRangeSelects a range of dates (range selection only).
SetRuntimeLicenseFor internal use only.
ShowCheckBoxDefines whether a check box is shown.
ShowClearButtonDefines whether a button that clears the field is shown.
TextDefines the field's text.
TimeDropDownStyleDefines whether the dropdown shows times as a list or a clock face.
TimeIntervalDefines the minutes between the times of the time list.
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.
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 | SftDate Events


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