TobiS Posted February 16, 2018 Share Posted February 16, 2018 Hi, i got a little problem with the TUniDateTimePicker. As long as a time is entered that starts with numbers from 1-12 it always sets the colon right. The moment when the first 2 digits are bigger than 12 like 1301, 1302 etc. it does not set the colon right. There is a similar problem with some dates that are not recornized. I tried setting differnt formating values but not one of them is changing the outcome. I didnt find a way to manipulate the outcome in the OnExit Event either, since i use it as a Editor in a TUniDBGrid RowEdit. Im using Version 1.0.0.1407 at the moment. Is there a way to make the TUniDateTimePicker recognize the values for time and date like it does most of the time? Or can i manipulate the result even in a rowedit or in the Tunidatetimepicker itself? A solution would be great because it helps the user alot to type in time and date easy without needing to set colons and dots. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted February 16, 2018 Share Posted February 16, 2018 Hi, If I understand you correctly, these posts can help you: http://forums.unigui.com/index.php?/topic/9088-solved-format-date-tunidatetimepicker-mmddyyyy-ddmmyyyy/ http://forums.unigui.com/index.php?/topic/7888-tunidatetimepicker-kind-tunitime/ http://forums.unigui.com/index.php?/topic/8308-date-format-unidatetimepicker/ Quote Link to comment Share on other sites More sharing options...
TobiS Posted February 19, 2018 Author Share Posted February 19, 2018 works like a charm. Thx alot. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.