W
wzs
Unregistered / Unconfirmed
GUEST, unregistred user!
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls;
type
TForm1 = class(TForm)
Button2: TButton;
procedure Button2Click(Sender: TObject);
Function test:Integer;
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.DFM}
Function TForm1.test:integer;
begin
showmessage('我是一行,^_^ ');
end;
procedure TForm1.Button2Click(Sender: TObject);
var
Procrocedure;
begin
@proc:=MethodAddress('test');
Proc;
end;
end.
------------------------------------------------
多多回应!!!!!!!!!!!!!!!
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls;
type
TForm1 = class(TForm)
Button2: TButton;
procedure Button2Click(Sender: TObject);
Function test:Integer;
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.DFM}
Function TForm1.test:integer;
begin
showmessage('我是一行,^_^ ');
end;
procedure TForm1.Button2Click(Sender: TObject);
var
Procrocedure;
begin
@proc:=MethodAddress('test');
Proc;
end;
end.
------------------------------------------------
多多回应!!!!!!!!!!!!!!!