DateTimePicker

From Xojo Documentation

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.

Events
Close DragOver MouseEnter
ConstructContextualMenu DropObject MouseExit
ContextualMenuAction GotFocus MouseMove
DateChanged KeyDown MouseWheel
DragEnter KeyUp Open
DragExit LostFocus
Properties
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
Enumerations
DisplayModes


Notes

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

Compatibility

Desktop projects on Linux, macOS and Windows.

See Also

DateTime class.