Einzelnen Beitrag anzeigen

Benutzerbild von Neutral General
Neutral General

Registriert seit: 16. Jan 2004
Ort: Bendorf
5.219 Beiträge
 
Delphi 10.2 Tokyo Professional
 
#1

Prüfen ob Methode = TNotifyEvent

  Alt 16. Mär 2008, 17:39
Hi,

Angenommen ich habe das hier:

Delphi-Quellcode:
TKlasse = class(TBlubb)
  procedure Test;
  procedure Blubb(Sender: TObject);
end;
Wie kann ich testen ob Test/Blubb vom Typ TNotifyEvent sind?

Also sowas wie:

if Test is TNotifyEvent then funktioniert nicht

Gruß
Neutral General
Michael
"Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination,
but because their imagination reveals worlds that others cannot see."
  Mit Zitat antworten Zitat