X
xfei
Unregistered / Unconfirmed
GUEST, unregistred user!
TForm1 = class(TForm)
private
procedure FEnter(Sender:TObject);
end
...
procedure TForm1.FormCreate(Sender: TObject);
begin
Edit1.OnEnter:=FEnter;//通过,FEnter定义在TForm外就不行
end;
//============错误,Why????How To??????=============
TForm1 = class(TForm)
end
procedure FEnter(Sender:TObject);//不在TForm1中
...
procedure TForm1.FormCreate(Sender: TObject);
begin
Edit1.OnEnter:=FEnter;//通过,FEnter定义在TForm外就不行
end;
private
procedure FEnter(Sender:TObject);
end
...
procedure TForm1.FormCreate(Sender: TObject);
begin
Edit1.OnEnter:=FEnter;//通过,FEnter定义在TForm外就不行
end;
//============错误,Why????How To??????=============
TForm1 = class(TForm)
end
procedure FEnter(Sender:TObject);//不在TForm1中
...
procedure TForm1.FormCreate(Sender: TObject);
begin
Edit1.OnEnter:=FEnter;//通过,FEnter定义在TForm外就不行
end;