Click or drag to resize

DateTimePicker Properties

X#

The DateTimePicker type exposes the following members.

Properties
  NameDescription
Public propertyBackground
The brush used for painting the background of the control. For example, in a single line edit control, the background is the color behind the text in the edit control.
(Inherited from Control.)
Public propertyCaption
The string representing the caption of the text control.
(Inherited from TextControl.)
Public propertyContextMenu
A menu object representing the local pop-up menu for a control.
(Inherited from Control.)
Public propertyControlFont
The font used to draw the text in the control.
(Inherited from TextControl.)
Public propertyControlID
A number between 1 and 8000 representing the unique ID of a control
(Inherited from Control.)
Public propertyCurrentText
A string representing the text currently displayed in a text control. For edit controls, including the edit box associated with simple and drop-down combo boxes, it contains the text currently appearing in the edit box. For fixed icon and group box controls, TextControl:CurrentText contains NULL_STRING.
(Inherited from TextControl.)
Public propertyDateRange
A DateRange object setting the range of allowable dates.
Public propertyFieldSpec
The field specification connected to the control.
(Inherited from Control.)
Public propertyCode exampleFormat
Sets the display format of the DateTimePicker control. The assign expects a string containing any of the following fragments:
Public propertyHyperLabel
The hyperlabel connected to the control.
(Inherited from Control.)
Public propertyLength
A numeric value representing the number of characters in the control.
(Inherited from TextControl.)
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 propertyModified
A logical value that is set to TRUE when a standard edit control or editable combo box is in the process of being modified.
(Inherited from Control.)
Public propertyName
A string representing the name of the control.
(Inherited from Control.)
Public propertyNameSym
A symbol representing the name of the control.
(Inherited from Control.)
Public propertyOrigin
A point representing the location of a control on its owner window, in canvas coordinates.
(Inherited from Control.)
Public propertyOwner
The owner window of a control.
(Inherited from Control.)
Public propertyOwnerAlignment
Constant representing how the window will be aligned within its owner window.
(Inherited from Control.)
Public propertyReadOnly
Is the control readonly ?
(Inherited from Control.)
Public propertySelectedDate
A date specifying the currently selected date.
Public propertySelectedTime
A string (format "HH:MM:SS") specifying the currently selected time.
Public propertyServer
The server object that currently connected to this control. If no server is connected, the value is NIL.
(Inherited from Control.)
Public propertySize
A dimension representing the size of a control.
(Inherited from Control.)
Public propertyStatus
A hyperlabel indicating the status of the control after a validation attempt or other action.
(Inherited from Control.)
Public propertyTextColor
The color used to draw the text in the control. (Refer to the Color:Init() method for details on specifying a color object.)
(Inherited from TextControl.)
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.)
Public propertyToolTipText
String value representing the tooltip text used when the user moves the mouse pointer over the control.
(Inherited from Control.)
Public propertyUseHLForToolTip
Logical value determining whether the descriptive text of a control's Hyperlabel should be used as the tooltip text.
(Inherited from Control.)
Public propertyValueChanged
A logical value representing whether the control's Value has been changed from its prior setting.
(Inherited from Control.)
Top
See Also