Description


DateTimePicker is designed specifically for entering dates or/and times. As a rule, this component is assigned to a specific database field through the TableName and FieldName properties.


Component properties

 Property

 Description

 TableName

 Determines which database table a component belongs to.

 FieldName

 Determines which field of the database table this component belongs to.

 Calendar

 Allows you to select the DateTimePicker or Calendar component. It makes sense if the Kind=Time property. More info.

 DefaultChecked

 Allows you to set Checked value when creating a new record. It makes sense if the ShowCheckbox property = True

 Font → Color

 Specifies the font color to use when displaying the text. Starting with Windows Vista, you cannot change the font color for a datetimepicker.

 Font → Name

 Identifies the typeface of the font.

 Font → Size

 Specifies the height of the font in points.

 Font → Style

 Determines whether the font is normal, italic, underlined, bold, and so on.

 Increm.Search

 Allows you to select the button with the action "Search" or "SQL query", which will be automatically clicked when the user changes the value of the component for immediate search.

 DateFormat

 Specifies format in which the date is presented. For example, "12/31/2020" or "31 December 2020". It makes sense if the property Kind=Date More info.

 DateMode

 Determines the method of date selection used by the component. It makes sense if the property Kind=Date

 Filter

 Allows you to select the data filtering condition when using this component together with the button with the "Search" action. More info.

 Format

 Specifies format in which the date or time is presented. More info.

 Kind

 Allows you to select a date mode. Date - date only. Time - time only. DateTime - date and time simultaneously. MonthYear - month and year.

 Name

 Specifies the name of the component.

 Left

 Specifies the horizontal coordinate of the left edge of a component relative to its parent.

 Top

 Specifies the Y coordinate of the upper-left corner of a control, relative to its parent or containing control in pixels.

 Width

 Specifies the horizontal size of the control in pixels.

 Height

 Specifies the vertical size of the control in pixels.

 TabOrder

 Indicates the position of the control in its parent's tab order.

 TabStop

 Determines if the user can tab to a control.

 Visible

 Specifies whether the component appears onscreen.

 Anchors

 Specifies how the control is anchored to its parent. More info.



Additional properties

 Property

 Description

 BevelInner

 Specifies the cut of the inner bevel.

 BevelKind

 Specifies the control's bevel style.

 BevelOuter

 Specifies the cut of the outer bevel.

 BiDiMode

 Specifies the bi-directional mode for the component.

 CalAlignment

 Determines the alignment of the drop-down calendar.

 Checked

 Indicates whether the check box next to the date or time is selected.

 Constraints

 Specifies the size constraints for the component.  It makes sense when using the Anchors property.

 Cursor

 Specifies the image used to represent the mouse pointer when it passes into the region covered by the component.

 Enabled

 Controls whether the component responds to mouse and keyboard events.

 Hint

 Hint contains the text string that appears when the user moves the mouse over the component. The hint will be shown if the ShowHint property = True

 ShowHint

 Determines whether the control displays a Help Hint when the mouse pointer rests momentarily on the component. See also property Hint

 ShowCheckbox

 Displays a check box next to the date or time.