In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Jason Wong) wrote:
> On Wednesday 31 July 2002 18:36, lallous wrote:
> > Hello when I extended a class and overwrite a function, can i after
> > overwriting that function call it so it does what it used to do?
> >
> > for example in Delphi I say
On Wednesday 31 July 2002 18:36, lallous wrote:
> Hello when I extended a class and overwrite a function, can i after
> overwriting that function call it so it does what it used to do?
>
> for example in Delphi I say:
>
> procedure TMyExtendedClass.Proc1;
> begin
> // do new stuff here
> inherited
Hello when I extended a class and overwrite a function, can i after
overwriting that function call it so it does what it used to do?
for example in Delphi I say:
procedure TMyExtendedClass.Proc1;
begin
// do new stuff here
inherited; // calls the TMyClass.Proc1;
end;
Elias
--
PHP General M
3 matches
Mail list logo