View Issue Details

IDProjectCategoryView StatusLast Update
0004299JEDI VCL00 JVCL Componentspublic2007-12-16 06:19
ReporterklausvodAssigned ToAHUser 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product VersionDaily / GIT 
Target VersionFixed in Version3.34 
Summary0004299: JvDBSpinEdit - FocusKilled - OnEdit gets fired
DescriptionHello there!

I have (next to other DB controls) a JvDBSpinEdit connected (via DataSource)
to an integer field returned by an ADOQuery.
If JvDBSpinEdit is focused when posting the record on exiting that control
(independently from post) the ADOQuery.OnEdit event gets fired.
In the callstack the line prior to ...AfterEdit is
TJvCustomSpinEdit.FocusKilled .

To me this behaviour seems to be a bug, isn't it?

When eliminating coCheckOnExit from CheckOptions everything is OK. It's
interesting that this makes difference since I have CheckMinValue and
CheckMaxValue both set to false ...

Regards,

klaus
TagsNo tags attached.

Activities

AHUser

2007-12-16 06:19

developer   ~0014054

There seems to be a design problem with the SpinEdit that makes it hard for a DB-aware component. I have fixed it by testing for Field.Value <> NewValue.

Issue History

Date Modified Username Field Change
2007-12-03 03:48 klausvod New Issue
2007-12-16 06:19 AHUser Status new => resolved
2007-12-16 06:19 AHUser Fixed in Version => Daily / SVN
2007-12-16 06:19 AHUser Resolution open => fixed
2007-12-16 06:19 AHUser Assigned To => AHUser
2007-12-16 06:19 AHUser Note Added: 0014054