View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001984 | JEDI VCL | 00 JVCL Components | public | 2004-07-18 13:31 | 2004-08-30 17:01 |
| Reporter | michael.habbe | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | open | ||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Summary | 0001984: TJvDBCalcEdit - "Modified" resets to False when "OnExit"-Event operates | ||||
| Description | When i leave TJvDBCalcEdit, the property "Modified" is resetted to False before i can verify it. | ||||
| Additional Information | The property is correctly set to True if i change the value. | ||||
| Tags | No tags attached. | ||||
|
|
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. |
| 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 |