Click or drag to resize

DateTimePicker Class

X#
Encapsulate a DateTimePicker control.
Inheritance Hierarchy
Object
  VObject
    Control
      TextControl
        DateTimePicker

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.24 GA
Syntax
 CLASS DateTimePicker INHERIT TextControl
Request Example View Source

The DateTimePicker type exposes the following members.

Constructors
  NameDescription
Public methodDateTimePicker
Construct a DateTimePicker object.
Top
Properties
  NameDescription
Public propertyDateRange
A DateRange object setting the range of allowable dates.
Public propertyCode exampleFormat
Sets the display format of the DateTimePicker control. The assign expects a string containing any of the following fragments:
Public propertyMCBackgroundColor
A Color object describing the background color (between the months) of the MonthCalendar pop-up window, if the DateTimePicker is in date mode.
Public propertyMCFont
A Font object specifying the font of the MonthCalendar pop-up window, if the DateTimePicker is in date mode.
Public propertyMCMonthBackgroundColor
A Color object describing the background color (within the month area) of the MonthCalendar pop-up window, if the DateTimePicker is in date mode.
Public propertyMCTextColor
A Color object describing the text color of the MonthCalendar pop-up window, if the DateTimePicker is in date mode.
Public propertyMCTitleBackgroundColor
A Color object describing the title background color of the MonthCalendar pop-up window, if the DateTimePicker is in date mode.
Public propertyMCTitleTextColor
A Color object describing the title text color of the MonthCalendar pop-up window, if the DateTimePicker is in date mode.
Public propertyMCTrailingTextColor
A Color object describing the color of the trailing and leading days, i.e., those not belonging to the current month, that appear on the MonthCalendar pop-up window, if the DateTimePicker is in date mode.
Public propertySelectedDate
A date specifying the currently selected date.
Public propertySelectedTime
A string (format "HH:MM:SS") specifying the currently selected time.
Public propertyTextValue
The current value in string format. This is needed internally to allow the binding of a DateTimePicker control to a database field.
(Overrides TextValue.)
Top
Remarks
The DateTimePicker control allows the user to select a date or time.
Tip Tip
Version 4.70 or higher of COMCTL32.DLL is needed to use the DateTimePicker control.
See Also

Reference