RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDateTimePicker.Kind Property

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

Pascal
property Kind: TDateTimeKind;
C++
__property TDateTimeKind Kind;

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.. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!