Thema: Delphi Exception bei Typecast

Einzelnen Beitrag anzeigen

Benutzerbild von Jens Schumann
Jens Schumann

Registriert seit: 27. Apr 2003
Ort: Bad Honnef
1.644 Beiträge
 
Delphi 2009 Professional
 
#6

Re: Exception bei Typecast

  Alt 21. Dez 2004, 07:57
Hallo,
crtl ist das Interface und nicht die Klasse. crtl stammt nicht von TControl ab!!!
Somit muss ein Typecast auch in die Hose gehen.
I come from outer space to save the human race
  Mit Zitat antworten Zitat