Autor Beitrag
klezmor
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 558


delphi 6 personal delphi 2005 personal
BeitragVerfasst: Di 15.08.06 10:50 
Wie ihr wahrscheinlich wisst, bietet delphi bei memofeldern ein standarisiertes Popupmenü, welches gewisse Funktionen, wie paste oder copy usw. beinhaltet.
Ich will zu diesen funktionen noch weitere, selbst implementierte, Funktionen hinzufügen. Selbst etwas hinzufügen klappt auch, aber dann sind die standard Funktionen weg und weder dass ich es kann, noch hätte ich Luste diese selbst zu implementieren.
Kann mir also jemand sagen, wie ich weiter Funktionen einbaue?

_________________
"Beware of bugs in the above code; I have only proved it correct, not tried it." Donald Knuth
Martok
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 3661
Erhaltene Danke: 604

Win 8.1, Win 10 x64
Pascal: Lazarus Snapshot, Delphi 7,2007; PHP, JS: WebStorm
BeitragVerfasst: Di 15.08.06 11:34 
Um die Alten Funktionen wieder zu bekommen, ohne etwas zu implementieren, kannst du eine EctionList benutzten. Dor Aktionen vom Typ TEditUndo, TEditCopy, TEditPaste usw. hinzufügen, und schon hast du die Befehle.

Ansonsten könntest du das Menü mit Windows-API-Routinen erweitern, aber der Aufwand würde den Nutzen übersteigen.

_________________
"The phoenix's price isn't inevitable. It's not part of some deep balance built into the universe. It's just the parts of the game where you haven't figured out yet how to cheat."