我编译的画椭圆的语句为:
Canvas.Ellipse(153,g2,170,g1);
Canvas.Ellipse(216,h1,233,h2);
Canvas.Ellipse(279,g2,296,g1);
Canvas.Ellipse(342,h1,359,h2);
Canvas.Ellipse(405,g2,422,g1);
Canvas.Ellipse(468,h1,485,h2);
出现了以下的错误提示:
[Error] Unit2.pas(82): There is no overloaded version of 'Ellipse' that can be called with these arguments
[Error] Unit2.pas(83): There is no overloaded version of 'Ellipse' that can be called with these arguments
[Error] Unit2.pas(84): There is no overloaded version of 'Ellipse' that can be called with these arguments
[Error] Unit2.pas(85): There is no overloaded version of 'Ellipse' that can be called with these arguments
[Error] Unit2.pas(86): There is no overloaded version of 'Ellipse' that can be called with these arguments
[Error] Unit2.pas(87): There is no overloaded version of 'Ellipse' that can be called with these arguments
[Fatal Error] Project1.dpr(6): Could not compile used unit 'Unit2.pas'
我是刚学这个软件的。请问怎样改正!!!
Canvas.Ellipse(153,g2,170,g1);
Canvas.Ellipse(216,h1,233,h2);
Canvas.Ellipse(279,g2,296,g1);
Canvas.Ellipse(342,h1,359,h2);
Canvas.Ellipse(405,g2,422,g1);
Canvas.Ellipse(468,h1,485,h2);
出现了以下的错误提示:
[Error] Unit2.pas(82): There is no overloaded version of 'Ellipse' that can be called with these arguments
[Error] Unit2.pas(83): There is no overloaded version of 'Ellipse' that can be called with these arguments
[Error] Unit2.pas(84): There is no overloaded version of 'Ellipse' that can be called with these arguments
[Error] Unit2.pas(85): There is no overloaded version of 'Ellipse' that can be called with these arguments
[Error] Unit2.pas(86): There is no overloaded version of 'Ellipse' that can be called with these arguments
[Error] Unit2.pas(87): There is no overloaded version of 'Ellipse' that can be called with these arguments
[Fatal Error] Project1.dpr(6): Could not compile used unit 'Unit2.pas'
我是刚学这个软件的。请问怎样改正!!!
解决方案 »
- 超郁闷 图片中写入文字!急。
- 有一段代码看不懂能否解释?谢谢.
- 如何捕捉鼠标事件啊?ApplicationEvent如何用啊
- mssql 存储过程的参数问题
- 上海的 朋友帮帮吗了》?找工作////////////
- 新年新气象,祝各位在新的一年里,分多多,RMB多多!
- *****救命啦!!!时间段问题,兄弟们,up有分
- 你用过MSMQ 编写传输文件的程序吗??MSMQ 的乱码问题?
- delphi通过代理服务器连接远程数据库?
- InstallShield Professional - Standard Edition --- IPSE622.exe 序列号
- 使用线程遇到难题,请教高手帮助
- 我想让一个应用程序执行5天就不能运行该程序,该怎样办???我没有具体思路,高手有办法吗?最好有个简单程序!谢谢!
g2:=trunc(g1-17);
h1:=trunc(160-f+8);
h2:=trunc(h1+17);
你把六个Canvas.Ellipse只留下一个,其余的注释掉,一个一个的调试就知道是哪个变量的问题了