A
autumn
Unregistered / Unconfirmed
GUEST, unregistred user!
type
a=class
procedure f;virtual;
end;
a1=class(a)
procedure iwant;
procedure f;override;
end;
procedure a.f;
begin
showmessage('a');
end;
procedure a1.f;
begin
showmessage('a1');
end;
procedure a1.iwant;
begin
//这里要调用a.f;如何实现
end;
a=class
procedure f;virtual;
end;
a1=class(a)
procedure iwant;
procedure f;override;
end;
procedure a.f;
begin
showmessage('a');
end;
procedure a1.f;
begin
showmessage('a1');
end;
procedure a1.iwant;
begin
//这里要调用a.f;如何实现
end;