TSpinEdit/TFloatSpinEdit in a disabled container gets an enabled-appearance after container's parent is enabled
Original Reporter info from Mantis: srcstorm
-
Reporter name: Src Storm
Original Reporter info from Mantis: srcstorm
- Reporter name: Src Storm
Description:
If a SpinEdit control is inside a disabled GroupBox, at first it looks greyed-out as it should be. However, if GroupBox is inside another container control, SpinEdit is affected by changes to Enabled property of this outer container.
So, if we disable the outer container, then enable again, appearance of SpinEdit changes to active. It is still not editable, so it's a cosmetic issue.
This also applies to FloatSpinEdit.
Steps to reproduce:
See attached test project.
Mantis conversion info:
- Mantis ID: 31590
- OS: Windows
- OS Build: 10
- Build: 54278
- Platform: x86_64-win64
- Version: 1.6.4
- Fixed in revision: 54484 (#7950eabf)
- Monitored by: » srcstorm (Src Storm)