Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • Lazarus Lazarus
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 2,102
    • Issues 2,102
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 9
    • Merge requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • FPC
  • LazarusLazarus
  • LazarusLazarus
  • Issues
  • #34763
Closed
Open
Issue created Dec 26, 2018 by FPC Admin account@fpc_adminOwner

Regression: not every TGrouBox child follows parent's "Enabled" property.

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
Assignee
Assign to
Time tracking