|
TimoSoft DateTimeControls
1.3.3.113
|
The main interface More...
Inherits IDispatch.
Public Member Functions | |
| HRESULT | About (void) |
| Displays the control's credits More... | |
| HRESULT | CountVisibleMonths ([in, defaultvalue(-1)] VARIANT_BOOL includePartialVisibleMonths,[in, out, defaultvalue(0)] DATE *firstVisibleDate,[in, out, defaultvalue(0)] DATE *lastVisibleDate,[out, retval] LONG *pVisibleMonths) |
| Retrieves details about the currently visible range of dates More... | |
| HRESULT | GetMaxTodayWidth ([out, retval] OLE_XSIZE_PIXELS *pWidth) |
| Retrieves the maximum width of the “Today” string More... | |
| HRESULT | GetMinimumSize ([in, out, defaultvalue(0)] OLE_XSIZE_PIXELS *Width,[in, out, defaultvalue(0)] OLE_YSIZE_PIXELS *Height) |
| Retrieves the control's minimum size required to display a full month More... | |
| HRESULT | GetRectangle ([in] ControlPartConstants controlPart,[in, defaultvalue(0)] LONG columnIndex,[in, defaultvalue(0)] LONG rowIndex,[in, defaultvalue(0)] LONG calendarIndex,[in, out, defaultvalue(0)] OLE_XPOS_PIXELS *Left,[in, out, defaultvalue(0)] OLE_YPOS_PIXELS *Top,[in, out, defaultvalue(0)] OLE_XPOS_PIXELS *Right,[in, out, defaultvalue(0)] OLE_YPOS_PIXELS *Bottom) |
| Retrieves the bounding rectangle of the specified control part More... | |
| HRESULT | GetSelection ([in, out, defaultvalue(0)] DATE *selectionStart,[in, out, defaultvalue(0)] DATE *selectionEnd) |
| Retrieves the current selection's start and end date More... | |
| HRESULT | HitTest ([in] OLE_XPOS_PIXELS x,[in] OLE_YPOS_PIXELS y,[in, out, defaultvalue(0)] HitTestConstants *hitTestDetails,[in, out, defaultvalue(0)] LONG *indexOfHitCalendar,[in, out, defaultvalue(0)] LONG *indexOfHitColumn,[in, out, defaultvalue(0)] LONG *indexOfHitRow,[in, out, defaultvalue(0)] OLE_XPOS_PIXELS *cellRectangleLeft,[in, out, defaultvalue(0)] OLE_YPOS_PIXELS *cellRectangleTop,[in, out, defaultvalue(0)] OLE_XPOS_PIXELS *cellRectangleRight,[in, out, defaultvalue(0)] OLE_YPOS_PIXELS *cellRectangleBottom,[out, retval] DATE *pHitDate) |
| Hit-tests the specified point More... | |
| HRESULT | LoadSettingsFromFile ([in] BSTR file,[out, retval] VARIANT_BOOL *pSucceeded) |
| Loads the control's settings from the specified file More... | |
| HRESULT | MinimizeRectangle ([in, out] OLE_XPOS_PIXELS *Left,[in, out] OLE_YPOS_PIXELS *Top,[in, out] OLE_XPOS_PIXELS *Right,[in, out] OLE_YPOS_PIXELS *Bottom) |
| Changes the specified rectangle to the smallest size that still fits the same number of calendars More... | |
| HRESULT | Refresh (void) |
| Advises the control to redraw itself | |
| HRESULT | SaveSettingsToFile ([in] BSTR file,[out, retval] VARIANT_BOOL *pSucceeded) |
| Saves the control's settings to the specified file More... | |
| HRESULT | SetBoldDates ([in] SAFEARRAY(VARIANT_BOOL)*states,[out, retval] VARIANT_BOOL *pSucceeded) |
| Sets the dates that are displayed using a bold font More... | |
| HRESULT | SetSelection ([in] DATE selectionStart,[in] DATE selectionEnd) |
| Sets the selection's start and end date More... | |
Properties | |
| AppearanceConstants | Appearance [get, set] |
| Controls the style of the control's outer border More... | |
| OLE_COLOR | BackColor [get, set] |
| Specifies the control's background color More... | |
| BorderStyleConstants | BorderStyle [get, set] |
| Controls the style of the control's inner border More... | |
| LONG | CalendarCount [get] |
| Retrieves the number of calendars currently displayed More... | |
| VARIANT_BOOL | CalendarGridCellSelected ([in] LONG columnIndex,[in] LONG rowIndex,[in, defaultvalue(0)] LONG calendarIndex) [get] |
| Determines whether the specified calendar grid cell is selected More... | |
| BSTR | CalendarGridCellText ([in] LONG columnIndex,[in] LONG rowIndex,[in, defaultvalue(0)] LONG calendarIndex) [get] |
| Retrieves the text of the specified calendar grid cell More... | |
| DATE | CaretDate [get, set] |
| Specifies the currently selected date More... | |
| BSTR | CaretDateText ([in, defaultvalue(0)] LONG calendarIndex) [get] |
| Retrieves the caret date's text More... | |
| DisabledEventsConstants | DisabledEvents [get, set] |
| Controls which events are fired More... | |
| VARIANT_BOOL | DontRedraw [get, set] |
| Controls redrawing of the control More... | |
| LONG | DragScrollTimeBase [get, set] |
| Controls the speed of automatic scrolling during drag'n'drop More... | |
| VARIANT_BOOL | Enabled [get, set] |
| Controls whether the control accepts user input More... | |
| DATE | FirstDate ([in, defaultvalue(-1)] LONG rowIndex,[in, defaultvalue(0)] LONG calendarIndex) [get] |
| Retrieves the specified calendar's first date More... | |
| IFontDisp | Font [get, set] |
| Specifies the control's font More... | |
| OLE_COLOR | ForeColor [get, set] |
| Specifies the control's text color More... | |
| BSTR | HeaderText ([in, defaultvalue(0)] LONG calendarIndex) [get] |
| Retrieves the text being displayed in the calendar header, for instance “January, 2009” More... | |
| VARIANT_BOOL | HighlightTodayDate [get, set] |
| Specifies whether the “Today” date is highlighted More... | |
| LONG | HoverTime [get, set] |
Controls when the MouseHover event is fired More... | |
| OLE_HANDLE | hWnd [get] |
| Retrieves the control's window handle More... | |
| VARIANT_BOOL | KeepSelectionOnNavigation [get, set] |
| Specifies whether the control keeps the selection while the user navigates to the next or previous view More... | |
| DATE | LastDate ([in, defaultvalue(-1)] LONG rowIndex,[in, defaultvalue(0)] LONG calendarIndex) [get] |
| Retrieves the specified calendar's last date More... | |
| DATE | MaxDate [get, set] |
| Specifies the maximum allowable date More... | |
| LONG | MaxSelectedDates [get, set] |
| Specifies the maximum number of dates that can be selected at the same time More... | |
| DATE | MinDate [get, set] |
| Specifies the minimum allowable date More... | |
| OLE_COLOR | MonthBackColor [get, set] |
| Specifies the month portion's background color More... | |
| IPictureDisp | MouseIcon [get, set] |
| Controls the control's mouse cursor More... | |
| MousePointerConstants | MousePointer [get, set] |
| Controls the control's mouse cursor More... | |
| VARIANT_BOOL | MultiSelect [get, set] |
| Specifies whether multiple dates can be selected More... | |
| LONG | Padding [get, set] |
| Specifies the size of the control's padding More... | |
| VARIANT_BOOL | ProcessContextMenuKeys [get, set] |
Specifies whether the ContextMenu event can be invoked using the keyboard More... | |
| VARIANT_BOOL | RegisterForOLEDragDrop [get, set] |
| Controls the control's behavior in drag'n'drop operations More... | |
| RightToLeftConstants | RightToLeft [get, set] |
| Controls the control's right-to-left features More... | |
| LONG | ScrollRate [get, set] |
| Specifies the number of months that the control moves its display if one of the scroll buttons is clicked More... | |
| VARIANT_BOOL | ShowTodayDate [get, set] |
| Specifies whether the “Today” date is displayed at the bottom of the control More... | |
| VARIANT_BOOL | ShowTrailingDates [get, set] |
| Specifies whether dates from the previous or next month are displayed More... | |
| VARIANT_BOOL | ShowWeekNumbers [get, set] |
| Specifies whether week numbers are displayed to the left of each row of days More... | |
| StartOfWeekConstants | StartOfWeek [get, set] |
| Specifies which day is handled as the first day of a week More... | |
| VARIANT_BOOL | SupportOLEDragImages [get, set] |
| Controls the control's behavior in drag'n'drop operations More... | |
| OLE_COLOR | TitleBackColor [get, set] |
| Specifies the title portion's background color More... | |
| OLE_COLOR | TitleForeColor [get, set] |
| Specifies the title portion's text color More... | |
| DATE | TodayDate [get, set] |
| Specifies the date that is displayed as the “Today” date More... | |
| OLE_COLOR | TrailingForeColor [get, set] |
| Specifies the text color of trailing dates More... | |
| VARIANT_BOOL | UsePadding [get, set] |
| Controls the control's padding More... | |
| VARIANT_BOOL | UseShortestDayNames [get, set] |
| Specifies whether the control uses the shortest instead of the short day names More... | |
| VARIANT_BOOL | UseSystemFont [get, set] |
| Specifies whether the control uses the system font More... | |
| BSTR | Version [get] |
| Retrieves the control's version More... | |
| ViewConstants | View [get, set] |
| Specifies the control's view mode More... | |
| VARIANT_BOOL | DetectDoubleClicks [get, set] |
| Specifies whether the control intercepts double clicks More... | |
The main interface
| HRESULT About | ( | void | ) |
Displays the control's credits
Displays some information about this control and its author.
| HRESULT CountVisibleMonths | ( | [in, defaultvalue(-1)] VARIANT_BOOL | includePartialVisibleMonths, |
| [in, out, defaultvalue(0)] DATE * | firstVisibleDate, | ||
| [in, out, defaultvalue(0)] DATE * | lastVisibleDate, | ||
| [out, retval] LONG * | pVisibleMonths | ||
| ) |
Retrieves details about the currently visible range of dates
Retrieves details about the currently visible range of dates. These details include the first and the last visible date and the number of visible months.
| [in] | includePartialVisibleMonths | If set to True, trailing dates are included; otherwise only entirely displayed months are counted. |
| [out] | firstVisibleDate | The first visible date. |
| [out] | lastVisibleDate | The last visible date. |
| HRESULT GetMaxTodayWidth | ( | [out, retval] OLE_XSIZE_PIXELS * | pWidth | ) |
Retrieves the maximum width of the “Today” string
Retrieves the maximum width of the “Today” string.
| HRESULT GetMinimumSize | ( | [in, out, defaultvalue(0)] OLE_XSIZE_PIXELS * | Width, |
| [in, out, defaultvalue(0)] OLE_YSIZE_PIXELS * | Height | ||
| ) |
Retrieves the control's minimum size required to display a full month
Retrieves the control's minimum size required to display a full month.
| [out] | width | The minimum width. |
| [out] | height | The minimum height. |
| HRESULT GetRectangle | ( | [in] ControlPartConstants | controlPart, |
| [in, defaultvalue(0)] LONG | columnIndex, | ||
| [in, defaultvalue(0)] LONG | rowIndex, | ||
| [in, defaultvalue(0)] LONG | calendarIndex, | ||
| [in, out, defaultvalue(0)] OLE_XPOS_PIXELS * | Left, | ||
| [in, out, defaultvalue(0)] OLE_YPOS_PIXELS * | Top, | ||
| [in, out, defaultvalue(0)] OLE_XPOS_PIXELS * | Right, | ||
| [in, out, defaultvalue(0)] OLE_YPOS_PIXELS * | Bottom | ||
| ) |
Retrieves the bounding rectangle of the specified control part
Retrieves the bounding rectangle (in pixels relative to the control's upper-left corner) of the specified control part.
| [in] | controlPart | The part of the control for which to retrieve the rectangle. Any of the values defined by the ControlPartConstants enumeration is valid. |
| [in] | columnIndex | The column index of the grid cell for which to retrieve the rectangle. The index starts at -1, which identifies the week numbers column. This parameter is ignored if controlPart is not equal to cpCalendarCell. |
| [in] | rowIndex | The row index of the grid cell or row for which to retrieve the rectangle. The index starts at -1, which identifies the week days row. This parameter is ignored if controlPart is not equal to cpCalendarRow or cpCalendarCell. |
| [in] | calendarIndex | The zero-based index of the calendar for which to retrieve the rectangle. The control can display up to 12 calendars at once. This parameter is ignored if controlPart is equal to cpControl, cpNextButton, cpPreviousButton or cpFooter. |
| [out] | left | The x-coordinate (in pixels) of the upper-left corner of the control part's bounding rectangle relative to the control's upper-left corner. |
| [out] | top | The y-coordinate (in pixels) of the upper-left corner of the control part's bounding rectangle relative to the control's upper-left corner. |
| [out] | right | The x-coordinate (in pixels) of the lower-right corner of the control part's bounding rectangle relative to the control's upper-left corner. |
| [out] | bottom | The y-coordinate (in pixels) of the lower-right corner of the control part's bounding rectangle relative to the control's upper-left corner. |
| HRESULT GetSelection | ( | [in, out, defaultvalue(0)] DATE * | selectionStart, |
| [in, out, defaultvalue(0)] DATE * | selectionEnd | ||
| ) |
Retrieves the current selection's start and end date
Retrieves the first and the last date of the currently selected range of dates.
| [out] | selectionStart | The first selected date. |
| [out] | selectionEnd | The last selected date. |
MultiSelect property is set to False.| HRESULT HitTest | ( | [in] OLE_XPOS_PIXELS | x, |
| [in] OLE_YPOS_PIXELS | y, | ||
| [in, out, defaultvalue(0)] HitTestConstants * | hitTestDetails, | ||
| [in, out, defaultvalue(0)] LONG * | indexOfHitCalendar, | ||
| [in, out, defaultvalue(0)] LONG * | indexOfHitColumn, | ||
| [in, out, defaultvalue(0)] LONG * | indexOfHitRow, | ||
| [in, out, defaultvalue(0)] OLE_XPOS_PIXELS * | cellRectangleLeft, | ||
| [in, out, defaultvalue(0)] OLE_YPOS_PIXELS * | cellRectangleTop, | ||
| [in, out, defaultvalue(0)] OLE_XPOS_PIXELS * | cellRectangleRight, | ||
| [in, out, defaultvalue(0)] OLE_YPOS_PIXELS * | cellRectangleBottom, | ||
| [out, retval] DATE * | pHitDate | ||
| ) |
Hit-tests the specified point
Retrieves the control's parts that lie below the point ('x'; 'y').
| [in] | x | The x-coordinate (in pixels) of the point to check. It must be relative to the control's upper-left corner. |
| [in] | y | The y-coordinate (in pixels) of the point to check. It must be relative to the control's upper-left corner. |
| [out] | hitTestDetails | Receives a value specifying the exact part of the control the specified point lies in. Any of the values defined by the HitTestConstants enumeration is valid. |
| [out] | indexOfHitCalendar | Comctl32.dll version 6.10 and newer only: Receives the zero-based index of the calendar that contains the specified point (in case that multiple calendars are displayed). |
| [out] | indexOfHitColumn | Comctl32.dll version 6.10 and newer only: Receives the zero-based index of the column in the calendar grid that the specified point is over. |
| [out] | indexOfHitRow | Comctl32.dll version 6.10 and newer only: Receives the zero-based index of the row in the calendar grid that the specified point is over. |
| [out] | cellRectangleLeft | Comctl32.dll version 6.10 and newer only: Receives the distance (in pixels) between the control's left border and the left border of the calendar grid cell that the specified point is over. |
| [out] | cellRectangleTop | Comctl32.dll version 6.10 and newer only: Receives the distance (in pixels) between the control's upper border and the upper border of the calendar grid cell that the specified point is over. |
| [out] | cellRectangleRight | Comctl32.dll version 6.10 and newer only: Receives the distance (in pixels) between the control's left border and the right border of the calendar grid cell that the specified point is over. |
| [out] | cellRectangleBottom | Comctl32.dll version 6.10 and newer only: Receives the distance (in pixels) between the control's upper border and the lower border of the calendar grid cell that the specified point is over. |
| HRESULT LoadSettingsFromFile | ( | [in] BSTR | file, |
| [out, retval] VARIANT_BOOL * | pSucceeded | ||
| ) |
Loads the control's settings from the specified file
| [in] | file | The file to read from. |
True if the settings could be loaded; otherwise False.| HRESULT MinimizeRectangle | ( | [in, out] OLE_XPOS_PIXELS * | Left, |
| [in, out] OLE_YPOS_PIXELS * | Top, | ||
| [in, out] OLE_XPOS_PIXELS * | Right, | ||
| [in, out] OLE_YPOS_PIXELS * | Bottom | ||
| ) |
Changes the specified rectangle to the smallest size that still fits the same number of calendars
Calculates how many calendars will fit in the specified rectangle, and then sets the rectangle to the minimum size that it needs to be to fit that number of calendars.
| [in,out] | left | On entry, specifies the x-coordinate (in pixels) of the left border of the rectangle to minimize. On return, it receives the x-coordinate of the left border of the minimized rectangle. |
| [in,out] | top | On entry, specifies the y-coordinate (in pixels) of the top border of the rectangle to minimize. On return, it receives the y-coordinate of the top border of the minimized rectangle. |
| [in,out] | right | On entry, specifies the x-coordinate (in pixels) of the right border of the rectangle to minimize. On return, it receives the x-coordinate of the right border of the minimized rectangle. |
| [in,out] | bottom | On entry, specifies the y-coordinate (in pixels) of the bottom border of the rectangle to minimize. On return, it receives the y-coordinate of the bottom border of the minimized rectangle. |
| HRESULT SaveSettingsToFile | ( | [in] BSTR | file, |
| [out, retval] VARIANT_BOOL * | pSucceeded | ||
| ) |
Saves the control's settings to the specified file
| [in] | file | The file to write to. |
True if the settings could be saved; otherwise False.| HRESULT SetBoldDates | ( | [in] SAFEARRAY(VARIANT_BOOL)* | states, |
| [out, retval] VARIANT_BOOL * | pSucceeded | ||
| ) |
Sets the dates that are displayed using a bold font
Sets the dates that are displayed using a bold font.
| [in] | states | An array containing the state for each currently displayed date. If a date's entry is set to True, it is displayed bold; otherwise not.Note: To simplify handling, it is assumed that each month has 31 days. So if the state for April 30th is stored at index 30, the state for May 1st would be stored at index 32 instead of 31. This array must contain at least n * 31 elements where n is the number of months returned by CountVisibleMonths(True). |
True on success; otherwise False.| HRESULT SetSelection | ( | [in] DATE | selectionStart, |
| [in] DATE | selectionEnd | ||
| ) |
Sets the selection's start and end date
Sets the first and the last date of the selected range of dates.
| [in] | selectionStart | The first date to select. |
| [in] | selectionEnd | The last date to select. |
MultiSelect property is set to False.
|
getset |
Controls the style of the control's outer border
Retrieves or sets the kind of border that is drawn around the control. Any of the values defined by the AppearanceConstants enumeration except aDefault is valid.
|
getset |
Specifies the control's background color
Retrieves or sets the control's background color.
|
getset |
Controls the style of the control's inner border
Retrieves or sets the kind of inner border that is drawn around the control. Any of the values defined by the BorderStyleConstants enumeration is valid.
|
get |
Retrieves the number of calendars currently displayed
Retrieves the number of calendars currently displayed.
|
get |
Determines whether the specified calendar grid cell is selected
Retrieves whether the specified calendar grid cell is selected. If set to True, the cell is selected; otherwise not.
| [in] | columnIndex | The column index of the grid cell for which to retrieve the selection state. The index starts at -1, which identifies the week numbers column. |
| [in] | rowIndex | The row index of the grid cell for which to retrieve the selection state. The index starts at -1, which identifies the week days row. |
| [in] | calendarIndex | The zero-based index of the calendar for which to retrieve the selection state. The control can display up to 12 calendars at once. |
|
get |
Retrieves the text of the specified calendar grid cell
Retrieves the text being displayed in the specified calendar grid cell. The string contains the Unicode character 8206 before each part of the text, e. g. “?January, ?2009” (? stands for character 8206). This marker can be used to extract specific parts from the text.
| [in] | columnIndex | The column index of the grid cell for which to retrieve the text. The index starts at -1, which identifies the week numbers column. |
| [in] | rowIndex | The row index of the grid cell for which to retrieve the text. The index starts at -1, which identifies the week days row. |
| [in] | calendarIndex | The zero-based index of the calendar for which to retrieve the text. The control can display up to 12 calendars at once. |
|
getset |
Specifies the currently selected date
Retrieves or sets the currently selected date.
|
get |
Retrieves the caret date's text
Retrieves the text representing the caret date. The string contains the Unicode character 8206 before each part of the text, e. g. “?January, ?2009” (? stands for character 8206). This marker can be used to extract specific parts from the text.
| [in] | calendarIndex | The zero-based index of the calendar for which to retrieve the text. The control can display up to 12 calendars at once. |
|
getset |
Controls which events are fired
Retrieves or sets the events that won't be fired. Disabling events increases performance. Any combination of the values defined by the DisabledEventsConstants enumeration is valid.
|
getset |
Controls redrawing of the control
Enables or disables automatic redrawing of the control. Disabling redraw while doing large changes on the control may increase performance. If set to False, the control will redraw itself automatically; otherwise not.
|
getset |
Controls the speed of automatic scrolling during drag'n'drop
Retrieves or sets the period of time (in milliseconds) that is used as the time-base to calculate the velocity of auto-scrolling during a drag'n'drop operation. If set to 0, auto-scrolling is disabled. If set to -1, the system's double-click time is used.
|
getset |
Controls whether the control accepts user input
Enables or disables the control for user input. If set to True, it reacts to user input; otherwise not.
|
get |
Retrieves the specified calendar's first date
Retrieves the specified calendar's first date that belongs to the month it is displaying.
| [in] | rowIndex | The zero-based row index for which to retrieve the date. If set to -1, the first date of the whole calendar is retrieved. |
| [in] | calendarIndex | The zero-based index of the calendar for which to retrieve the date. The control can display up to 12 calendars at once. |
|
getset |
Specifies the control's font
Retrieves or sets the control's font. It's used to draw the control's content.
|
getset |
Specifies the control's text color
Retrieves or sets the control's text color.
|
get |
Retrieves the text being displayed in the calendar header, for instance “January, 2009”
Retrieves the text being displayed in the calendar header, for instance “January, 2009”. The string contains the Unicode character 8206 before each part of the text, e. g. “?January, ?2009” (? stands for character 8206). This marker can be used to extract specific parts from the text.
| [in] | calendarIndex | The zero-based index of the calendar for which to retrieve the text. The control can display up to 12 calendars at once. |
|
getset |
Specifies whether the “Today” date is highlighted
Retrieves or sets whether the “Today” date is highlighted, e. g. by drawing a circle around it. If set to True, it is highlighted; otherwise not.
|
getset |
Controls when the MouseHover event is fired
Retrieves or sets the number of milliseconds the mouse cursor must be located over the control's client area before the MouseHover event is fired. If set to -1, the system hover time is used.
|
get |
Retrieves the control's window handle
Retrieves the control's window handle.
|
getset |
Specifies whether the control keeps the selection while the user navigates to the next or previous view
Retrieves or sets whether selected dates remain selected while the user scrolls to the next or previous view. If set to True, the selection is kept on navigation; otherwise not.
|
get |
Retrieves the specified calendar's last date
Retrieves the specified calendar's last date that belongs to the month it is displaying.
| [in] | rowIndex | The zero-based row index for which to retrieve the date. If set to -1, the last date of the whole calendar is retrieved. |
| [in] | calendarIndex | The zero-based index of the calendar for which to retrieve the date. The control can display up to 12 calendars at once. |
|
getset |
|
getset |
Specifies the maximum number of dates that can be selected at the same time
Retrieves or sets the maximum number of dates that can be selected at the same time.
MultiSelect property is set to False.
|
getset |
|
getset |
Specifies the month portion's background color
Retrieves or sets the background color of the month portion of the control.
|
getset |
Controls the control's mouse cursor
Retrieves or sets a user-defined mouse cursor. It's used if MousePointer is set to mpCustom.
|
getset |
Controls the control's mouse cursor
Retrieves or sets the cursor's type that's used if the mouse cursor is placed within the control's client area. Any of the values defined by the MousePointerConstants enumeration is valid.
|
getset |
Specifies whether multiple dates can be selected
Retrieves or sets whether multiple dates can be selected at the same time. If set to True, the user may select multiple dates; otherwise not.
|
getset |
Specifies the size of the control's padding
Retrieves or sets the distance (in pixels) between the control's content and the frame that the active theme might draw around the control.
|
getset |
Specifies whether the ContextMenu event can be invoked using the keyboard
Retrieves or sets whether the control fires the ContextMenu event if the user presses [SHIFT]+[F10] or [WINDOWS CONTEXTMENU]. If set to True, the events get fired; otherwise not.
|
getset |
Controls the control's behavior in drag'n'drop operations
Retrieves or sets whether the control is registered as a target for OLE drag'n'drop. If set to True, the control accepts OLE drag'n'drop actions; otherwise not.
|
getset |
Controls the control's right-to-left features
Enables or disables bidirectional features. Any combination of the values defined by the RightToLeftConstants enumeration is valid.
|
getset |
Specifies the number of months that the control moves its display if one of the scroll buttons is clicked
Retrieves or sets the scroll rate of the control. The scroll rate is the number of months that the control moves its display when the user clicks a scroll button.
If set to zero, the control scrolls by the number of months it is displaying.
|
getset |
Specifies whether the “Today” date is displayed at the bottom of the control
Retrieves or sets whether the “Today” date is displayed at the bottom of the control. If set to True, it is displayed; otherwise not.
|
getset |
Specifies whether dates from the previous or next month are displayed
Retrieves or sets whether dates from the previous or next month are displayed to fill up weeks that start or end in the previous or next month. If set to True, such trailing dates are displayed; otherwise not.
|
getset |
Specifies whether week numbers are displayed to the left of each row of days
Retrieves or sets whether week numbers are displayed to the left of each row of days. Week 1 is defined as the first week that contains at least four days. If set to True, week numbers are displayed; otherwise not.
|
getset |
Specifies which day is handled as the first day of a week
Retrieves or sets the day that is handled as the first day of a week. Any of the values defined by the StartOfWeekConstants enumeration is valid.
|
getset |
Controls the control's behavior in drag'n'drop operations
Retrieves or sets whether the control creates an IDropTargetHelper object, so that a drag image can be displayed during OLE drag'n'drop. If set to True, the control creates the object; otherwise not.
|
getset |
Specifies the title portion's background color
Retrieves or sets the background color of the title portion of the control.
|
getset |
Specifies the title portion's text color
Retrieves or sets the text color of the title portion of the control.
|
getset |
Specifies the date that is displayed as the “Today” date
Retrieves or sets the date that is displayed as the “Today” date. If this property is set to zero, the system default is used.
|
getset |
Specifies the text color of trailing dates
Retrieves or sets the text color of trailing dates.
|
getset |
Controls the control's padding
Retrieves or sets whether the control applies the padding specified by the Padding property. If set to True, the padding is applied; otherwise not.
|
getset |
Specifies whether the control uses the shortest instead of the short day names
Retrieves or sets whether the control uses the shortest instead of the short day names for the day of week column header. If set to True, the shortest, otherwise the short names are used.
|
getset |
Specifies whether the control uses the system font
Retrieves or sets whether the control uses the system's default dialog font or the font specified by the Font property. If set to True, the system font; otherwise the specified font is used.
|
get |
Retrieves the control's version
|
getset |
Specifies the control's view mode
Retrieves or sets the control's view mode. Any of the values defined by the ViewConstants enumeration is valid.
|
getset |
Specifies whether the control intercepts double clicks
Enables or disables double clicks. If set to True, double clicks are accepted; otherwise all clicks are handled as single clicks.