The problem in sPanel occurs because support of panel bevels was added. SkinSection is changed automatically after changing of the BevelOuter property.
So, you can write “pnl.BevelOuter := bvNone” and remove “pnl.SkinData.SkinSection := 'CHECKBOX'”
Also you can write “pnl.SkinData.SkinSection := 'MENUITEM'”, panel will be transparent in this case too.
The problem in sPanel occurs because support of panel bevels was added. SkinSection is changed automatically after changing of the BevelOuter property.
So, you can write “pnl.BevelOuter := bvNone” and remove “pnl.SkinData.SkinSection := 'CHECKBOX'”
Also you can write “pnl.SkinData.SkinSection := 'MENUITEM'”, panel will be transparent in this case too.
I will test buttons created in run-time, now.
Thanks! I can confirm that this fixed the problem 🙂
I have made test for buttons, but haven't an error.
Maybe you must show me your component… Can you use TeamViewer tool for sharing of your PC?
I've just retested and I no longer have the problem either?! I must have hit the error before I had finished coding the components and just assumed that is was related to the earlier issue. Sorry for raising a non-issue.