In the case of multiple errors, indicators of a TJvErrorIndicator component linked in a TJvValidators component don't appear after TJvValidators.Validate. With blinking on, no indicator appears at all. With blinking off, some (but not all) appear. The handling of the blinking thread object in the source code may be the source of the trouble.

Enclosing the TJvValidators.Validate call in ErrorIndicator.BeginUpdate and ErrorIndicator.EndUpdate calls works around the issue. Such a sequence is missing in the TJvValidators.Validate method.

Additional Information

Tags

No tags attached.

Attached Files

Relationships

Relationships

Notes

(0009543)
obones (administrator)2006-06-09 05:54

But BeginUpdate and EndUpdate are not part of the IJvErrorIndicator interface. Would it make sense to add them?

(0009561)
mm (reporter)2006-06-09 20:19

compare IJvValidationSummary, there the methods are declared. and since SetError on itself stops a thread and starts a new one, i'd say it makes sense.