F
frag
Unregistered / Unconfirmed
GUEST, unregistred user!
如
type
TFrame1 = class(TFrame)
Label1: TLabel;
Edit1: TEdit;
Button1: TButton;
procedure Button1Click(Sender: TObject);
private
{ Private declarations }
procedure ShowTest();
public
{ Public declarations }
end;
然后不在这个unit里实现ShowTest,而是在UnitExternal实现,然后Use过来?
谢谢!
type
TFrame1 = class(TFrame)
Label1: TLabel;
Edit1: TEdit;
Button1: TButton;
procedure Button1Click(Sender: TObject);
private
{ Private declarations }
procedure ShowTest();
public
{ Public declarations }
end;
然后不在这个unit里实现ShowTest,而是在UnitExternal实现,然后Use过来?
谢谢!