Autor Beitrag
asbito
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 33



BeitragVerfasst: Di 06.03.07 16:00 
HI leute ich mach mir grad ne kleine animation un hab dafür ne enue Klasse aus TImage aus dem Boden gestampft. Jetzt soll aber schon beim erstelen der Komponente ein Bild im Image sein. Wie kann die nötigen procedure dafür überschreiben?
Robinator
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 275

WinXP
BDS 2006
BeitragVerfasst: Di 06.03.07 16:02 
Konstruktoren musst du nicht überschreiben.

Einfach nen eigenen Konstruktor schreibe, in dem erst den Konstruktor der Elternklasse aufrufen, dann die eigenen Sachen erledigen ;)

gruss, rob

_________________
erare humanum est
asbito Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 33



BeitragVerfasst: Di 06.03.07 16:15 
JO danke aber bin leider ein kleiner noob in sachen eigene klassen und Units kannst mir dazu vielleicht ein Code beispiel geben?
HelgeLange
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 735
Erhaltene Danke: 6

Windows 7
Delphi7 - Delphi XE
BeitragVerfasst: Di 06.03.07 16:17 
schau mal in der Delphi Hilfe unter "override" nach

_________________
"Ich bin bekannt für meine Ironie. Aber auf den Gedanken, im Hafen von New York eine Freiheitsstatue zu errichten, wäre selbst ich nicht gekommen." - George Bernhard Shaw
asbito Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 33



BeitragVerfasst: Di 06.03.07 17:05 
Jup Danke jetzt steht meinem Projekt nischt mehr im Weg thx nochmal



mfg asbito.