Forum: Sonstige Fragen zu Delphi
Delphi
by jaenicke,
29. Feb 2016
Ja, da ist ein Knoten, der hat aber nichts mit Interfaces zu tun. ;-)
FOnTimer: TNotifyEvent;
procedure SetOnTimer(Value: TNotifyEvent);
//...
property OnTimer: TNotifyEvent read FOnTimer write SetOnTimer;
end;
// ...
Forum: Sonstige Fragen zu Delphi
Delphi
by jaenicke,
5. Apr 2015
Ja. Bei Interfaces gibt es keinen Mechanismus wie Klassenmethoden oder so etwas.
Forum: Sonstige Fragen zu Delphi
Delphi
by jaenicke,
8. Mär 2015
In der Anwendung:type
IHostInterface = interface
function GetOnShutdown: TList<IDLLClient>;
end;
IDllHostInterface = interface
procedure Shutdown;
end;
THostInterface = class(TInterfacedObject, IHostInterface, IDllHostInterface)