Vcl.ComCtrls.TDateTimePicker.Kind

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Kind: TDateTimeKind read FKind write SetKind default dtkDate;

C++

__property TDateTimeKind Kind = {read=FKind, write=SetKind, default=0};

Properties

Type Visibility Source Unit Parent
property published
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TDateTimePicker

Description

Determines whether the component is a date selector or a time selector.

If the Kind property is dtkDate, the control is configured to support date editing. The default format gives only the date portion of the control value, and a drop-down calendar is available if the DateMode property is dmComboxBox.

If the Kind property is dtkTime, the control is configured to support time editing. The default format give only the time portion of the control value, but the date portion can also be edited if the Format property includes date field codes..

See Also