Hi,

Having a class definition as shown below, and then using class
completion in MSEide, the IDE incorrectly defines a method...

  procedure TMainForm.IMyIntf;
  begin
  end;

...when no such method should exist.


----8<-------------8<-------------8<-------------8<-------------8<----
  TMainForm = class(TObject, IMyIntf)
  private
    FMyIntfClass: TMyIntfClass;
    { delegate IMyIntf implementation to another class }
    property MyIntfClass: TMyIntfClass read FMyIntfClass implements IMyIntf;
  public
    constructor Create;
    destructor Destroy; override;
    procedure Run;
    { overrides the IMyIntf.P2 implementation using name resolution }
    procedure IMyIntf.P2 = MyP2;
    procedure MyP2;
  end;

----8<-------------8<-------------8<-------------8<-------------8<----




Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/


------------------------------------------------------------------------------
Keep yourself connected to Go Parallel: 
INSIGHTS What's next for parallel hardware, programming and related areas?
Interviews and blogs by thought leaders keep you ahead of the curve.
http://goparallel.sourceforge.net
_______________________________________________
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to