"intellisense" (code completion proposals) does not offer contents of type helpers
"intellisense" (code completion proposal) does not offer contents of type helpers.
Example:
unit lib;
interface
type
IFoo = interface(IDispatch)
procedure Bar(row integer); safecall; overload;
end;
TIFooHelper = type helper for IFoo
procedure Bar; safecall; overload;
end;
implementation
procedure TIFooHelper.Bar; safecall; overload;
begin
Bar(0);
end;
end.
// somewhere else is an implementation of IFoo:
unit ufoo;
uses lib;
type
TFoo = class(IFoo)
procedure Bar(row integer); safecall; overload;
constructor Create;
end;
end.
// usage of TFoo in some other class:
unit uExample;
uses lib, ufoo;
var
MyFoo: IFoo;
begin
MyFoo := TFoo.Create;
// when typing MyFoo.Bar only the implementation in TFoo is offered but not the TIFooHelper.Bar
end;
end.