Calendar object
Tip The /COM object can be placed on a HTML page (with usage of the HTML object tag:  <object classid="clsid:...">)  using the class identifier: {D8F4D09C-3FD1-4479-ABA3-4F195C20050C}. The object's program identifier is: "Exontrol.Calendar". The /COM object module is: "ExCalendar.dll"
The ExCalendar Library contains two ActiveX controls, simple version and drop-down version that allow you to select a date with a nice GUI. You can select the date between 1/1/100 and 12/31/9999. Both versions support images, colors, font attributes, tooltips for any date.

Features include:

The Calendar object supports the following properties and methods:

NameDescription
AlignmentDaySpecifies the alignment of the days within the control.
AppearanceRetrieves or sets the control's appearance
AppearanceDayRetrieves or sets a value that determines the day's appearance.
AttachTemplateAttaches a script to the current object, including the events, from a string, file, a safe array of bytes.
AutoSizeRetrieves or sets a value that indicates whether the control automatically resizes the cell based on the size of the font.
BackColorRetrieves or sets the control's background color.
BackgroundReturns or sets a value that indicates the background color for parts in the control.
BeginUpdateMaintains performance while multiple changes are done at once. This method prevents the control from painting until the EndUpdate method is called.
BorderLineColorRetrieves or sets a value that indicates the border line color.
CommentBackColorRetrieves or sets the color to highlight the commented events.
DateRetrieves or sets the browsed date. Ensures that the date is visible.
DateFromPointRetrieves the date from point.
DateHeaderFieldSpecifies the HTML caption to be shown on the giving field of the date's header.
DateHeaderFormatSpecifies the CRD format to display the month/year/buttons within the date's header.
DisplayWeekNumberAsSpecifies the way the control displays the week number.
DoDateComposes a DATE type, based on year, month and day.
DrawBorderLineRetrieves or sets a value that indicates the border line style.
DrawGridLineRetrieves or sets a value that identifies the type of grid lines.
EnabledRetrieves or sets a value that indicates whether the control is enabled ot disabled.
EndUpdateResumes painting the control after painting is suspended by the BeginUpdate method.
EventParamRetrieves or sets a value that indicates the current's event parameter.
EventsRetrieves the control date events collection.
ExecuteTemplateExecutes a template and returns the result.
FirstDayRetrieves or sets a value that indicates the first day of the week.
FirstVisibleDateRetrieves the first visible date.
FixedCellHeightRetrieves or sets a value that indicates the cell's height while the AutoSize is exFixed.
FixedCellWidthRetrieves or sets a value that indicates the cell's width while the AutoSize is exFixed.
FocusDateRetrieves or sets the focused date
FontRetrieves or sets the control's font.
ForeColorRetrieves or sets the control's foreground color.
FormatABCFormats the A,B,C values based on the giving expression and returns the result.
FreezeEventsPrevents the control to fire any event.
GridLineColorRetrieves or sets a value that indicates the grid lines color.
HeaderBackColorRetrieves or sets a value that indicates the background color used for weeks and week days headers.
HeaderForeColorRetrieves or sets a value that indicates the foreground color used for weeks and week days headers.
HideSelectionSpecifies whether selected date appears selected when a control loses focus.
HTMLPictureAdds or replaces a picture in HTML captions.
hWndRetrieves the control's window handle.
ImagesSets the control's handle image list.
ImageSizeRetrieves or sets the size of icons the control displays..
IntegralHeightRetrieves the height of the control to fit the MaxMonthY months in the client area.
IntegralWidthRetrieves the width of the control to fit the MaxMonthX months in the client area.
LastVisibleDateRetrieves the last visible date.
LocAMPMRetrieves the time marker such as AM or PM using the current user regional and language settings.
LocFirstDayIndicates the first day of the week, as specified in the regional settings.
LockedSpecifies whether the user can change the selection.
LocMonthNamesRetrieves the list of month names, as indicated in the regional settings, separated by space.
LocWeekDaysRetrieves the list of names for each week day, as indicated in the regional settings, separated by space.
MarkTodayRetrieves or sets a value that indicates whether the control marks the today date.
MaxDateRetrieves or sets the min date.
MaxMonthXSpecifies the maximum number of months horizontally displayed.
MaxMonthYSpecifies the maximum number of months vertically displayed.
MaxScrollYearSpecifies the maximum year when scrolling.
MinDateRetrieves or sets the min date.
MinMonthXSpecifies the minimum number of months horizontally displayed.
MinMonthYSpecifies the minimum number of months vertically displayed.
MinScrollYearSpecifies the minimum year when scrolling.
MonthNameRetrieves or sets the month's name.
MonthNamesRetrieves or sets a value that indicates the list of month names, separated by space.
NonMonthDaysColorRetrieves or sets a value that indicates the color to show the non-month days.
NonworkingDaysRetrieves or sets a value that indicates the non-working days, for each week day a bit.
NonworkingDaysColorRetrieves or sets a value that indicates the color to fill the non-working days.
NonworkingDaysForeColorRetrieves or sets a value that indicates the foreground color for non-working days.
NonworkingDaysPatternRetrieves or sets a value that indicates the pattern being used to fill non-working days.
PictureRetrieves or sets a graphic to be displayed in the control.
PictureDisplayRetrieves or sets a value that indicates the way how the graphic is displayed on the control's background
RefreshRefreshes the control.
SelBackColorRetrieves or sets a value that indicates the selection background color.
SelCountRetrieves the count of selected dates.
SelDateSelects a date while SingleSel is true.
SelectDateRetrieves the selected date, given its index into selected dates collection. Use SelCount in order to get the count of selected dates.
SelectionSerializes the selected dates to a string.
SelectTodayDateSpecifies whether the current date is selected when the user clicks the Today button.
SelForeColorRetrieves or sets a value that indicates the selection foreground color.
ShowDaysRetrieves or sets a value that indicates whether the week days header is visible or hidden.
ShowImageListSpecifies whether the control's image list window is visible or hidden.
ShowMonthRetrieves or sets a value that indicates whether the month header is visible or hidden.
ShowMonthSelectorRetrieves or sets a value that indicates whether the user is able to select a new month by clicking in the month header.
ShowNonMonthDaysSpecifies whether the control displays the dates that are not part of the month.
ShowTodayButtonRetrieves or sets a value that indicates whether the today button is visible or hidden.
ShowToolTipShows the specified tooltip at given position.
ShowWeeksRetrieves or sets a value that indicates whether the weeks header is visible or hidden.
ShowYearScrollRetrieves or sets a value that indicates whether the scroll bar for changing the year is visible or hidden.
ShowYearSelectorRetrieves or sets a value that indicates whether the year selector is visible or hidden.
SingleSelRetrieves or sets a value that indicates whether the control supports single or multiple selection.
TemplateSpecifies the control's template.
TemplateDefDefines inside variables for the next Template/ExecuteTemplate call.
TemplatePutDefines inside variables for the next Template/ExecuteTemplate call.
TodayCaptionRetrieves or sets a value that indicates the today button's caption.
ToolTipDelaySpecifies the time in ms that passes before the ToolTip appears.
ToolTipFontRetrieves or sets the tooltip's font.
ToolTipPopDelaySpecifies the period in ms of time the ToolTip remains visible if the mouse pointer is stationary within a control.
ToolTipWidthSpecifies a value that indicates the width of the tooltip window, in pixels.
UnSelDateUnselects the date.
UseVisualThemeSpecifies whether the control uses the current visual theme to display certain UI parts.
ValueSpecifies the selected date.
VersionRetrieves the control's version.
VisualAppearanceRetrieves the control's appearance.
VisualDesignInvokes the control's VisualAppearance designer.
WeekDayNameRetrieves or sets a value that indicates the week day short name in the week days header.
WeekDaysRetrieves or sets a value that indicates the list of short names for each week day, separated by space.