View Issue Details

IDProjectCategoryView StatusLast Update
0004989JEDI VCL00 JVCL Componentspublic2009-10-25 17:41
ReportersorinhAssigned ToAHUser 
PrioritynormalSeveritytrivialReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.35 
Target VersionFixed in Version 
Summary0004989: JvDateEdit OnAcceptDate event problem
DescriptionThe OnAcceptDate event of JvDateEdit component is trriger when the user
select a new date.
Still the text or the date value on the event are the old one and not the
new selected date value.
TagsNo tags attached.

Activities

AHUser

2009-10-25 15:47

developer   ~0016811

Isn't that the expected behavior? If you do not accept the date in OnAcceptDate the old value will be restored. The new date value is in the ADate parameter.

sorinh

2009-10-25 16:51

reporter   ~0016814

I extracts the values with the debuger
The values of the:
(Sender as TJvDateEdit).Date
(Sender as TJvDateEdit).Text
is the old date value

The value of ADate parameter is: '30/12/1899' doesn't matter what date I select.

AHUser

2009-10-25 17:14

developer   ~0016816

> (Sender as TJvDateEdit).Date
> (Sender as TJvDateEdit).Text
> is the old date value

That's what it should be, because the new value isn't accepted yet.


> ADate parameter is: '30/12/1899'

That would be a bug, but I can't reproduce it with the SVN head version. Can you upload a small demo project that shows the bug?

sorinh

2009-10-25 17:39

reporter   ~0016817

It's ok
The value with the debuger is '30/12/1899'
but when I try with Showmessagge(ADate) it show the new value

Sorry to bother and thank for the support

Issue History

Date Modified Username Field Change
2009-10-21 20:13 sorinh New Issue
2009-10-25 15:47 AHUser Note Added: 0016811
2009-10-25 15:47 AHUser Assigned To => AHUser
2009-10-25 15:47 AHUser Status new => feedback
2009-10-25 16:51 sorinh Note Added: 0016814
2009-10-25 17:14 AHUser Note Added: 0016816
2009-10-25 17:39 sorinh Note Added: 0016817
2009-10-25 17:41 AHUser Status feedback => resolved
2009-10-25 17:41 AHUser Resolution open => fixed