lema Posted October 7, 2020 Share Posted October 7, 2020 Hello, Is there any way to limit the showing items in time portion of the uniDateTimePicker (eg. 09:00' - 15:00')? Also, can we change the step ? (eg. 30 min instead of 15 min) ? UniGUI v.1.90.0.1537 (Delphi 10.2) TIA, Lefteris Link to comment Share on other sites More sharing options...
Sherzod Posted October 7, 2020 Share Posted October 7, 2020 3 hours ago, lema said: Is there any way to limit the showing items in time portion of the uniDateTimePicker (eg. 09:00' - 15:00')? Also, can we change the step ? (eg. 30 min instead of 15 min) ? Hello, This post may help you: 2 Link to comment Share on other sites More sharing options...
lema Posted October 7, 2020 Author Share Posted October 7, 2020 YES ! That did the job , Thank you ! 1 Link to comment Share on other sites More sharing options...
lema Posted May 19, 2021 Author Share Posted May 19, 2021 Hello, I have a strange behavior with the UniDateTimePicker. If you add the following code on uEdits of MegaDemo and play around for a while, the error "The time in this field must equal to or after 09:00:00" will popup ! Delphi 10.2 uniGUI 1.90.0.1549 procedure TuEditsFrame.UniFrameCreate(Sender: TObject); begin UniDateTimePicker2.ClientEvents.UniEvents.Values['beforeInit'] := 'function beforeInit(sender, config)' + '{' + ' config.minValue = ''09:00''; ' + ' config.maxValue = ''15:00''; ' + '}'; end; Link to comment Share on other sites More sharing options...
Sherzod Posted May 19, 2021 Share Posted May 19, 2021 1 hour ago, lema said: the error "The time in this field must equal to or after 09:00:00" will popup ! Hello, Did it work in previous versions? Link to comment Share on other sites More sharing options...
lema Posted May 19, 2021 Author Share Posted May 19, 2021 3 hours ago, Sherzod said: Hello, Did it work in previous versions? Hello, I have the same behavior in different apps built with 1.90.0.1537 Link to comment Share on other sites More sharing options...
Sherzod Posted May 19, 2021 Share Posted May 19, 2021 1 hour ago, lema said: I have the same behavior in different apps built with 1.90.0.1537 Hello, I couldn't reproduce this issue. What's your timezone? Link to comment Share on other sites More sharing options...
lema Posted May 19, 2021 Author Share Posted May 19, 2021 4 minutes ago, Sherzod said: Hello, I couldn't reproduce this issue. What's your timezone? Hi, I am at Athens/Greece on EEST(UTC +3) Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now