Regression: not every TGrouBox child follows parent's "Enabled" property.
Original Reporter info from Mantis: Bloodbat
-
Reporter name: Antonio Ramírez
Original Reporter info from Mantis: Bloodbat
- Reporter name: Antonio Ramírez
Description:
Adding some controls to a TGroupBox in 2.0RC3 and setting the TGroupBox Enabled property to False, when the program starts they still look as if they were enabled; they behave correctly: they don't detect mouse clicks and such; but they appear as if they were enabled. This used to work correctly under 1.8.4 and doesn't affect every control, two that come to mind: buttons and checkboxes.
(A quick program is attached to test this).
Steps to reproduce:
Add a TGroupBox to a form.
Add some controls to the TGroupBox
Set the TGroupBox's Enabled property to False
Compile and run the program
The controls appear as if they were enabled.
Appearance behaves correctly when toggling the group's Enabled property at run time.
Mantis conversion info:
- Mantis ID: 34763
- OS: 7
- OS Build: 7
- Platform: Windows
- Version: 2.0RC3
- Fixed in version: 2.1 (SVN)
- Fixed in revision: 60224 (#14ebc450)
- Target version: 2.0