If appropriate, I wouldn't mind reporting a bug, but I'm not sure what the exact status is of Cocoa widget development considering it's alpha stage. I for sure wouldn't mind doing some testing.
When I place components on a TPanel, and at runtime toggle between TPanel.enabled:=true and enabled:=false, then none of the children components change their enabled state, except TLabel. In code I was unable to see anything where the TPanel passes it disabled state to it's children, even though TLabel did disable. (I apologize for the lack of experience
[size=78%])[/size]
I tried a few components, and these for sure do not change their enabled state, even though the parent panel enabled state changes.So components on a disabled TPanel remain enabled and functional,...
TEDit,
TMemo,
TButton,
TRadioButton,
TGroupCheckBox,
TCheckBox,
TComboBox
Note:
This is with Lazarus 1.5 SVN 49818, FPC 2.6.4 according to the Lazarus About, FPC 3.3.1 according to the compiler that I have entered as the compiler executable under Tools -> Options -> Compiler Executable. The IDE is Carbon, but under Project Options I've set the target to Cocoa. I was not able to compile the IDE with Cocoa, so there is the possibility that this is a problem on my setup (unable to find "fpcres" even though it clearly exists in the paths).
Any insights/tips/comments are much appreciated.