Autor Beitrag
foxy
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 814

Ubuntu, Gentoo
C++, PHP, Java, Ruby, Perl (Eclipse)
BeitragVerfasst: Di 08.04.03 10:41 
guden

:? hab ein prob

also ich habe 2 proceduren

1.
ausblenden Quelltext
1:
protected Procedure wndPrc					

2.
ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
protected procedure createParams( var prams:TCreateParams);

....
Procedure Tform1.CreateParams(var xxx);
Begin
  Inherited;
 params.exStyle := Params.Exstyle or WS_EX_APPWINDOW;


also die 2. proc. sacht einfach, das jedes fenster, das ich anzeige in der taskbar erscheint ... dies geht aber irgendwie immer nur bei einer form also wenn ich das was weis ich bei 5 vershiedenen will ahben geht das nicht dann steht da createparams verbirgt virtuelle methode

das selbe bei wndProc, die meine urls in einer RichEdit im ie öffnen soll steht das selbe comment ... weis jetzt nich ob das unter OP soll pder vcl aber egal @ Mods :D[/code]

_________________
"Only wimps use tape backup: real men just upload their important stuff on ftp, and let the rest of the world mirror it." (Linus Torvalds)
OperatingSystem Laptop (Ubuntu Hardy)
maximus
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 896

Win XP, Suse 8.1
Delphi 4/7/8 alles prof
BeitragVerfasst: Di 08.04.03 10:58 
Zitat:
...dann steht da createparams verbirgt virtuelle methode...


Das bedeuted, dass in der geerbten klasse eine virtuelle methode definiert ist, die du nicht ohne weiteres überdecken solltest!

Du kannst sie allerdings 'overriden':
ausblenden Quelltext
1:
2:
3:
4:
protected Procedure wndPrc; override; 

...
protected procedure createParams( var prams:TCreateParams); override;


soweit dürfte die meldung nicht mehr kommen und du kannst die überschriebenen methoden mit inherited aufrufen!

_________________
mfg.
mâximôv
foxy Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 814

Ubuntu, Gentoo
C++, PHP, Java, Ruby, Perl (Eclipse)
BeitragVerfasst: Di 08.04.03 11:03 
:rofl: :rofl:
*kopfhau*

hab override vergessen ;)
hehe danke für den tip

_________________
"Only wimps use tape backup: real men just upload their important stuff on ftp, and let the rest of the world mirror it." (Linus Torvalds)
OperatingSystem Laptop (Ubuntu Hardy)