M
mongxing0
Unregistered / Unconfirmed
GUEST, unregistred user!
比如,我在unit1定义好了,想在unit2调用
随便再一下,我这样定义 procedure loadtv,算不算是定义一个过程?
小弟不才,基础不是很好
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms;
type
TForm_main = class(TForm)
procedure loadtv; //加载treeview
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form_main: TForm_main;
implementation
{$R *.dfm}
procedure TForm_main.loadtv;
begin
......
end;
随便再一下,我这样定义 procedure loadtv,算不算是定义一个过程?
小弟不才,基础不是很好
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms;
type
TForm_main = class(TForm)
procedure loadtv; //加载treeview
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form_main: TForm_main;
implementation
{$R *.dfm}
procedure TForm_main.loadtv;
begin
......
end;