怎样在delphi窗体中画点
1个回答
展开全部
例如:
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;
type
TForm1 = class(TForm)
腊迹 Button1: TButton;
罩罩 procedure Button1Click(Sender: TObject);
private
{ Private declarations }
public
物局闹{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
procedure TForm1.Button1Click(Sender: TObject);
begin
form1.Canvas.MoveTo(100,100);
form1.Canvas.LineTo(100,101);
end;
end.
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询