Lazarus
Programming => Graphics => Graphics and Multimedia => BGRABitmap and LazPaint => Topic started by: kirchfritz on April 17, 2019, 10:25:59 am
-
when I put a TBCPanel on a TBCPanel, then the rounded corners of the inner TBCPanel show the color of the form. I expect to see the backgroundcolor of the parent TBCPanel, not the forms color.
Is this a bug or a feature? Please see my attached screenshot.
Fritz
-
TBCPanel is not a transparent component. So it overwrites the whole rectangle. So in a way this is to be expected.
Though I wonder if there is a background color that could be used.
-
I don't think a background color would be acceptable for the case of BCPanel1 and BCPanel2.
-
Not possible :(
-
Not possible :(
Just a question, is a TBCPanel a window ?
-
Not possible :(
Just a question, is a TBCPanel a window ?
Is like a TPanel. "TCustomControl", not "TGraphicControl" that can have transparency.
-
Is like a TPanel. "TCustomControl", not "TGraphicControl" that can have transparency.
Excuse my ignorance about components. The reason I asked if it's a window is because, if it is, then setting its window region to be equal to the rounded shape might provide the transparency he desires.
-
I don't think a background color would be acceptable for the case of BCPanel1 and BCPanel2.
Indeed. Though it would work for BCPanel3 and BCPanel4 which would be better than nothing.