Grids: unrecoverable visual mess when exception is raised inside LoadContent.
Original Reporter info from Mantis: Bart @flyingsheep
-
Reporter name: Bart Broersma
Original Reporter info from Mantis: Bart @flyingsheep
- Reporter name: Bart Broersma
Description:
If an exception occurs inside LoadContent, then the grid becomes a visual mess.
Eventuallu all celss will get the color of the form (or maybe it is FixedColor).
If you hide/show the form also the background gets that color.
It does not matter if the exception is handled by the caller or not.
Steps to reproduce:
Raise an exception in LoadContent, then do a LoadFromFile.
(I implemented such behaviour in TValueListEditor, where it is not OK to parse silently ignore errors in the XML)
Additional information:
Only tested on Windows.
Mantis conversion info:
- Mantis ID: 36182
- OS: Windows
- OS Build: 10
- Build: r61683
- Platform: i386
- Version: 2.1 (SVN)