Project JEDI - Issue Tracker
Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0006263 [JEDI VCL] 00 JVCL Components minor always 2014-03-05 16:53 2019-05-05 09:20
Reporter runfastman View Status public  
Assigned To
Priority normal Resolution open  
Status feedback   Product Version 3.45
Summary 0006263: No On change event call for DateTimePicker
Description I added an function for the OnChange Event. This function never gets called when you type in the control and change the item. It works with the standard TDateTimePicker.

This would also be a great time to fix the known issues with the default TDateTimePicker where "What you see isn't what you get" if you have both the date and time displayed and you change values not all values get updated on the back side, only values associated with "Kind" property get updated.
Kind = dtkDate
Format = 'MM/dd/yyyy hh:mm tt'
//modify the hour, then read the time in code and it isn't modified.

This can be fixed in the OnChange Event by updating the date/time value using the text property of the component.

At the very least, expose the .text property of the component so the user can do this manually.

Additional Information
Tags No tags attached.
Attached Files zip file icon [^] (54,052 bytes) 2019-05-05 09:17

- Relationships

-  Notes
obones (administrator)
2014-09-03 11:33

Please provide the zipped sources of a sample application showing this
mh (reporter)
2019-05-05 09:20

I created a demo project now. It shows two things:

1. the OnChange event is fired just fine in the current version
2. the thing with not changing the entered time internally when Kind is dtkDate is indeed the case, but I rather think this is as designed. or what would the Kind property be for otherwise? If Kind is dtkTime the entered time is really changed.

- Issue History
Date Modified Username Field Change
2014-03-05 16:53 runfastman New Issue
2014-09-03 11:33 obones Note Added: 0021023
2014-09-03 11:33 obones Status new => feedback
2019-05-05 09:17 mh File Added:
2019-05-05 09:20 mh Note Added: 0021811

Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker