怎么用Shape画出斜线

lirlir 2004-01-13 04:02:27
怎么用Shape画出斜线??或者用其他控件
...全文
484 8 打赏 收藏 转发到动态 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
whitetiger8 2004-08-17
  • 打赏
  • 举报
回复
image1.canvas.moveto(100,100);
image1.canvas.lineto(200,200);
wychero 2004-08-17
  • 打赏
  • 举报
回复
总之在 TShape 中是不能画斜线的,必须自己从 TShape 的父去 Inherite.
yuganfei19840807 2004-08-17
  • 打赏
  • 举报
回复
安装WeiGao包,有个line控件,很好用
ass123 2004-08-16
  • 打赏
  • 举报
回复
用fastreport的frShape控件。
sqlserver11 2004-08-16
  • 打赏
  • 举报
回复
<script language=vbscript>
sub city_onchange
if form.city.value="北京" then
form.action="beijing.asp"
elseif form.city.value="上海" then
form.action="shanghai.asp"
elseif form.city.value="天津" then
form.action="tianji.asp"
elseif form.city.value="" then
msgbox "请选择一个选项"
end if
form.submit
AndaAnda 2004-01-13
  • 打赏
  • 举报
回复
moveto
lineto
vcshcn 2004-01-13
  • 打赏
  • 举报
回复
把宽度设成1,然后改变x,y坐标
cll007 2004-01-13
  • 打赏
  • 举报
回复
image1.canvas.moveto(100,100);
image1.canvas.lineto(200,200);
----
上面就是画斜线,从点(100,100)到点200,200);

5,386

社区成员

发帖
与我相关
我的任务
社区描述
Delphi 开发及应用
社区管理员
  • VCL组件开发及应用社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧