View Issue Details

IDProjectCategoryView StatusLast Update
0001984JEDI VCL00 JVCL Componentspublic2004-08-30 17:01
Reportermichael.habbeAssigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary0001984: TJvDBCalcEdit - "Modified" resets to False when "OnExit"-Event operates
DescriptionWhen i leave TJvDBCalcEdit, the property "Modified" is resetted to False before i can verify it.
Additional InformationThe property is correctly set to True if i change the value.
TagsNo tags attached.

Activities

cpall

2004-07-20 21:28

reporter   ~0004785

Not a bug.

Do your data validation using the DataSource which is connected to the calcEdit, not on a calcEdit exit. DataSource.OnDataChange is what you are probably looking for. This would apply for any and all field level type validation. If anybody else knows any better, say it here!

The primary benefit is this keeps the validation (business logic) seperate from your UI, and more tied to the data, where it belongs. If you change the control which edits the data, you'll have less source code to change.

Issue History

Date Modified Username Field Change
2004-07-18 13:31 michael.habbe New Issue
2004-07-20 21:28 cpall Note Added: 0004785
2004-08-30 17:01 AHUser Status new => closed