Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Increase the hour range in Date/DTP control

$
0
0
Can I increase the hour limit in my Date control?
I have tried this:
[ autoit ]      
#include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include <GuiDateTimePicker.au3> $Form1 = GUICreate("Form1", 400, 200) Global $TheTime = GUICtrlCreateDate('02:00', 5, 5, 150, 21, $DTS_TIMEFORMAT) _GUICtrlDTP_SetFormat(GUICtrlGetHandle($TheTime), "HH:mm '    Hour:minute'") Global $aRange[14] = [True, 0, 1, 1, 00, 00, 00, True, 3000, 12, 31, 99, 99, 99] _GUICtrlDTP_SetRange(GUICtrlGetHandle($TheTime), $aRange) GUISetState(@SW_SHOW) Do Until GUIGetMsg() = $GUI_EVENT_CLOSE
But it still goes only to 23/59 when I try to change hours/minutes, and I would like to change to 99:99 (max value)

Viewing all articles
Browse latest Browse all 12506

Trending Articles