如何在delphi下画二维坐标系
答案:2 悬赏:20 手机版
解决时间 2021-02-13 06:20
- 提问者网友:蓝莓格格巫
- 2021-02-13 01:35
如何在delphi下画二维坐标系
最佳答案
- 五星知识达人网友:琴狂剑也妄
- 2021-02-13 02:17
例如:
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.LineTo(50,50);
end;
end.
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.LineTo(50,50);
end;
end.
全部回答
- 1楼网友:野味小生
- 2021-02-13 03:51
你好!
memo.lines.add(a[0][0]); 依此类推。
仅代表个人观点,不喜勿喷,谢谢。
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯