Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: TDateEdit bizarre bug


This question is not answered. Helpful answers available: 1. Correct answers available: 1.


Permlink Replies: 2 - Last Post: Mar 12, 2017 1:43 PM Last Post By: Ricardo Barbieri
Ricardo Barbieri

Posts: 2
Registered: 1/9/02
TDateEdit bizarre bug  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 10, 2017 7:05 AM
I'm experiencing a very strange behavior of TDateEdit in Android devices, whatch the video please.
https://www.youtube.com/watch?v=ibD5ku4ynPU

How can i solve that?

Rad 10.1 up2 Android 4.2.2

Thank you all.

Edited by: Ricardo Barbieri on Mar 10, 2017 7:06 AM

Edited by: Ricardo Barbieri on Mar 10, 2017 7:33 AM
Dave Nottage

Posts: 1,850
Registered: 1/7/00
Re: TDateEdit bizarre bug [Edit]
Helpful
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 10, 2017 3:08 PM   in response to: Ricardo Barbieri in response to: Ricardo Barbieri
Ricardo Barbieri wrote:

I'm experiencing a very strange behavior of TDateEdit in Android devices, whatch the video please.
https://www.youtube.com/watch?v=ibD5ku4ynPU

How can i solve that?

Not sure as yet how you can solve it, however you should report it to QP:

https://quality.embarcadero.com

Rad 10.1 up2 Android 4.2.2

Happens to me as well on Android 7.1.1.

I really don't know why the date edit was implemented as it has been. There's perfectly good DatePicker and TimePicker
classes in Android that could have been used, without the need for using the java.util.Calendar class and having to
convert dates from DateTime to Unix-based as they do in the FMX code.

I expect the DatePicker in DPF Android does not suffer from the same problem:

https://sourceforge.net/projects/dpfdelphiandroid/

--
Dave Nottage [MVP, TeamB]
Hints, tips and tricks at: http://www.delphiworlds.com/blog
Ricardo Barbieri

Posts: 2
Registered: 1/9/02
Re: TDateEdit bizarre bug [Edit]  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 12, 2017 1:43 PM   in response to: Dave Nottage in response to: Dave Nottage
Thanks Dave.
I think if i can put four digits in the year the problem will be solved, but i can't see any property to do that.

I will study about your suggestion.

Dave Nottage wrote:
Ricardo Barbieri wrote:

I'm experiencing a very strange behavior of TDateEdit in Android devices, whatch the video please.
https://www.youtube.com/watch?v=ibD5ku4ynPU

How can i solve that?

Not sure as yet how you can solve it, however you should report it to QP:

https://quality.embarcadero.com

Rad 10.1 up2 Android 4.2.2

Happens to me as well on Android 7.1.1.

I really don't know why the date edit was implemented as it has been. There's perfectly good DatePicker and TimePicker
classes in Android that could have been used, without the need for using the java.util.Calendar class and having to
convert dates from DateTime to Unix-based as they do in the FMX code.

I expect the DatePicker in DPF Android does not suffer from the same problem:

https://sourceforge.net/projects/dpfdelphiandroid/

--
Dave Nottage [MVP, TeamB]
Hints, tips and tricks at: http://www.delphiworlds.com/blog
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02