C#用了皮肤后,Panel和GroupBox 容器背景透明
Canvas->Brush->Color = Color;// Canvas->FillRect(Rect); 注释掉这一句,就透明了。下面的bsClear保证写Caption的不使用底色。 Canvas->Brush->Style = bsClear; Canvas->Font = this->Font; FontHeight = Canvas->
·
Canvas->Brush->Color = Color;
// Canvas->FillRect(Rect); 注释掉这一句,就透明了。下面的bsClear保证写Caption的不使用底色。
Canvas->Brush->Style = bsClear;
Canvas->Font = this->Font;
FontHeight = Canvas->TextHeight('W');
更多推荐
所有评论(0)