关于鼠标控制的一个问题 在一个图片上 如何控制鼠标划定一个区域,要显示出划定的区域,再把所得区域的四个坐标参数传递到一个过程中??:)其实就像WINDOWS下拖动文件时 可以拉一个框那样:)请指教:) 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 大概其的意思是这样的var bpoint, epoint: TPoint;procedure TForm1.Image1MouseDown(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer);begin bpoint.X := X; bpoint.Y := Y;end;procedure TForm1.Image1MouseUp(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer);begin epoint.X := X; epoint.Y := Y; image1.Canvas.Pen.Color := clBlue; image1.Canvas.Pen.Style := psdot; image1.Canvas.Brush.Style := bsClear; image1.Canvas.Rectangle(bpoint.X, bpoint.Y, epoint.X, epoint.Y);end; sqlserver触发器:text,ntext,image类型不能在deleted,inserted表 为什么这条filter语句出错 各位大侠,小妹请教一个问题,来者有分!!!!!!! 请问,如何去掉Delphi程序自动添加的菜单快捷键? 关于Excel单元格设置的问题 最后的散分六号!先到先得。 控件属性 Fastreport2.46的注册码谁有????Help me!! AnimateWindow的問題 请问: 如何将MEMO中的HTML源代码,另存为TXT? 请教一个关于combobox问题 Windows内存管理机制的不惑
bpoint, epoint: TPoint;procedure TForm1.Image1MouseDown(Sender: TObject; Button: TMouseButton;
Shift: TShiftState; X, Y: Integer);
begin
bpoint.X := X;
bpoint.Y := Y;
end;procedure TForm1.Image1MouseUp(Sender: TObject; Button: TMouseButton;
Shift: TShiftState; X, Y: Integer);
begin
epoint.X := X;
epoint.Y := Y;
image1.Canvas.Pen.Color := clBlue;
image1.Canvas.Pen.Style := psdot;
image1.Canvas.Brush.Style := bsClear;
image1.Canvas.Rectangle(bpoint.X, bpoint.Y, epoint.X, epoint.Y);
end;