W WuWZY Unregistered / Unconfirmed GUEST, unregistred user! 2001-03-06 #2 inherited createparams function add controlstyle:=controlstyle-[csOpaque];
N newstone Unregistered / Unconfirmed GUEST, unregistred user! 2001-03-06 #3 WuWZY: 照你的方法试验了, 没有实现透明效果,请再帮帮忙!
B balaschen Unregistered / Unconfirmed GUEST, unregistred user! 2001-03-06 #4 procedure Createparams(var params:TCreateparams);override; /// procedure TYourControl.Createparams(var params:TCreateparams); begin inherited Createparams(params); params.ExStyle:=parmas.ExStyle 0r WS_EX_TRANSPARENT; end;
procedure Createparams(var params:TCreateparams);override; /// procedure TYourControl.Createparams(var params:TCreateparams); begin inherited Createparams(params); params.ExStyle:=parmas.ExStyle 0r WS_EX_TRANSPARENT; end;
N newstone Unregistered / Unconfirmed GUEST, unregistred user! 2001-03-07 #5 还是不行,刚把Panel放在Form上时透明,运行时或拖动一下,就不透明了.
A amo Unregistered / Unconfirmed GUEST, unregistred user! 2001-03-07 #7 sigh 以透明为关键字检索一把吧 如果太慢了就先看看http://www.gislab.ecnu.edu.cn/delphibbs/DispQ.asp?LID=310043