Autor Beitrag
delphijanka
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 151

WinXP
D 2009 Arc., Java, C
BeitragVerfasst: Fr 28.08.09 13:28 
Hallo. Ein komisches Problem hier:

Wenn ich von TEdit ableite, so muss ich ja im Prinzip alle Ereignisse überschreiben können:

TMyEdit = class(TEdit)
protected
procedure KeyPress(...); override;
procedure ContextPopup(...); override;
end;

KeyPress ist zum Beispiel kein Problem. Aber ContextPopup gibt die Fehlermeldung: "nicht in Basisklasse gefunden", obwohl die Signatur korrekt ist.

I dont check it, warum. Plz help.
SvenAbeln
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 334
Erhaltene Danke: 3



BeitragVerfasst: Fr 28.08.09 14:55 
Mein Delphi 2007 kennt ContextPopup auch nicht.
Meinst du vielleicht:
ausblenden Delphi-Quelltext
1:
procedure DoContextPopup(MousePos: TPoint; var Handled: Boolean); override;					
delphijanka Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 151

WinXP
D 2009 Arc., Java, C
BeitragVerfasst: Fr 28.08.09 15:17 
@SvenAbeln

Ja, habe auch so bereits gemacht. Aber danke dir trotzdem.