Skip to content

DTPickerFormatConstants

选择 DTPicker 控件使用的显示格式。由 DTPicker.Format 属性使用。

当设置为 dtpCustom 时,选择器还会读取 DTPicker.CustomFormat 来控制实际显示。

成员描述
dtpLongDate0长日期格式,例如 "Tuesday, January 14, 2025"
dtpShortDate1短日期格式,例如 "1/14/2025"
dtpTime2时间格式,例如 "3:45:00 PM"
dtpCustom3来自 CustomFormat 的自定义图片字符串。

另见

  • DTPicker —— 使用该枚举的控件

twinBASIC及其LOGO版权为作者"韦恩"所有