Autor Beitrag
MaxOff
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 16

Win9x, Suse Linux 8.2
D 6 Ent
BeitragVerfasst: Fr 13.02.04 10:58 
Kleine Frage:

Ist das zulässig:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
TTest1: Class(TObject)
  Procedure Test(Parameter:TStrings); Virtual;
End;

TTest2: Class(TTest1)
  Procedure Test(Parameter: TStringList); Override;
End;


Kann das Funktionieren oder muss ich bei TTest1.Test noch Abstract setzen?

Danke im vorraus
Motzi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2931

XP Prof, Vista Business
D6, D2k5-D2k7 je Prof
BeitragVerfasst: Fr 13.02.04 13:27 
Abstract brauchst du nur, sofern du die Methode in der Klasse TTest1 nicht implementieren willst. Ansonsten passt das so....

_________________
gringo pussy cats - eef i see you i will pull your tail out by eets roots!