Jump to content


Photo

TUniDateTimePicker does not take 1330

TUniDateTimePicker Format

  • Please log in to reply
2 replies to this topic

#1 TobiS

TobiS

    Member

  • uniGUI Subscriber
  • PipPip
  • 13 posts

Posted 16 February 2018 - 04:01 PM

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.


  • 0

#2 Delphi Developer

Delphi Developer

    Advanced Member

  • Moderators
  • 5177 posts

Posted 16 February 2018 - 04:57 PM

Hi,

 

If I understand you correctly, these posts can help you:

 

http://forums.unigui...dyyyy-ddmmyyyy/

http://forums.unigui...-kind-tunitime/

http://forums.unigui...datetimepicker/


  • 0

#3 TobiS

TobiS

    Member

  • uniGUI Subscriber
  • PipPip
  • 13 posts

Posted 19 February 2018 - 10:21 AM

works like a charm. Thx alot.


  • 0





Also tagged with one or more of these keywords: TUniDateTimePicker, Format

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users