Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
将TPanel组件放置在设计器中时,似乎无法制作transparent?有一个不透明度选项,但仅适用于动画。我希望面板本身是完全透明的,所以我可以看到下面的图像。(我想使用面板作为放置在其上的控件的控件布局方式)
TPanel
transparent
使用 TLayout 或 TRectangle 代替 TPanel。
您可以为此使用几乎任何对象不透明度,例如:
Panel1->Opacity=0.5;