From Xojo Documentation

Revision as of 21:34, 13 September 2021 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Class (inherits from RectControl)

New in 2020r2

Displays the date, time or both so the user can select a date/time value.

Close DragOver MouseEnter
ConstructContextualMenu DropObject MouseExit
ContextualMenuAction GotFocus MouseMove
DateChanged KeyDown MouseWheel
DragEnter KeyUp Open
DragExit LostFocus
Active fa-lock-32.png LockLeft SelectedDate
AllowAutoDeactivate LockRight TabIndex
AllowTabStop LockTop TodayButtonCaption
DisplayMode MaximumDate Tooltip
DisplaySeconds MinimumDate Top
Enabled MouseCursor Transparent
GraphicalDisplay MouseX fa-lock-32.png TrueWindow fa-lock-32.png
Handle fa-lock-32.png MouseY fa-lock-32.png Visible
Height Name fa-lock-32.png Width
Index fa-lock-32.png PanelIndex Window fa-lock-32.png
Left Parent
LockBottom Scope fa-lock-32.png


On macOS and Windows, the DateTimePicker displays time in the format chosen by the user in their system preferences.


Desktop projects on Linux, macOS and Windows.

See Also

DateTime class.