难呀难,怎么在一个IMAGE组件上图一个绿圈(已经载入图片)但不能把圈中的图擦掉 不对呀,我把brush的style改为bsclear以后,再改pen.color的时侯,颜色可以变呀,你该不会是去改brush的color吧。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 bursh 和Pen是不同的两种东西. with shape1 dobegin shape:=stCircle; brush.style:=bsClear; Pen.Color:=clGreen; Pen.style:=psSolid; pen.mode=pmCOPY; pen.width:=1;end; //with <a href="mailto:[email protected]"><font color="#FFFFFF">百联美达美科技有限公司</font></a> procedure TForm1.Button1MouseMove (Sender: TObject; Shift: TShiftState; X, Y: Integer);beginform1.repaint;form1.Canvas.pen.color:=clGreen;form1.Canvas.pen.width:=5;form1.Canvas.polyline([point(Button1.left,Button1.top), point(Button1.left+Button1.width,Button1.top), point(Button1.left+Button1.width,Button1.top+Button1.height), point(Button1.left,Button1.top+Button1.height), point(Button1.left,Button1.top)]);end; delphi运行程序产生'conversion from class Tbutton to soap is not supported'这是为何呢? delphi代码 ISA代理验证 如何得到一个字符串的16进制编码? dbgird的连接问题! AVI格式的媒体文件不能播放 Socket控件的选取 难题,高手来帮忙呀! 如何打包制作含有SQL server(个人版)数据库的应用软件的安装程序?急用!!!! delphi里如何接收使用webservice中c#自定义的类型,希望有详细的代码?? 如何使用TDataSet::DataSetField? 不要损我 ADO打包发布,要加哪个文件啊?
begin
shape:=stCircle;
brush.style:=bsClear;
Pen.Color:=clGreen;
Pen.style:=psSolid;
pen.mode=pmCOPY;
pen.width:=1;
end; //with
(Sender: TObject; Shift: TShiftState; X, Y: Integer);
begin
form1.repaint;
form1.Canvas.pen.color:=clGreen;
form1.Canvas.pen.width:=5;
form1.Canvas.polyline([point(Button1.left,Button1.top),
point(Button1.left+Button1.width,Button1.top),
point(Button1.left+Button1.width,Button1.top+Button1.height),
point(Button1.left,Button1.top+Button1.height),
point(Button1.left,Button1.top)]);
end;