hello,

i would like to know how to implement interfaces in Delphi
program.That is eg:

Interfaces

  type
    IyInterface=Interface
    procedure AddColor;
   end;
  type
   IMyInterface2=Interface
   function GetHeight :Integer;
  end;
  type
   TMyClass=class(TinterfacedObject,IMyInterface,IMyInterface2)
   procedure Addcolor;
   function getHeight:Integer;
   end;

the above code does not compile and gives error please tell me how to
inherit from multiple interfaces into the new class.

reply me at [EMAIL PROTECTED]/[EMAIL PROTECTED]
  





-------------------------------------------------------
Home: http://groups.yahoo.com/group/delphi-programming/
Remove: [EMAIL PROTECTED]




SPONSORED LINKS
Basic programming language C programming language Computer programming languages
The c programming language C++ programming language Software programming language


YAHOO! GROUPS LINKS




Reply via email to