Delphi-PRAXiS
Seite 2 von 2     12   

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Delphi Rückgängig in Richedit ? (https://www.delphipraxis.net/126438-rueckgaengig-richedit.html)

toms 24. Dez 2008 12:55

Re: Rückgängig in Richedit ?
 
Add a Standard Context (popup) Menu to Delphi's TRichEdit:
http://delphi.about.com/od/tmemotric...edit-popup.htm

thomas2009 24. Dez 2008 13:27

Re: Rückgängig in Richedit ?
 
Zitat:

Zitat von toms
Add a Standard Context (popup) Menu to Delphi's TRichEdit:
http://delphi.about.com/od/tmemotric...edit-popup.htm

Ich habe habe das Projeckt dort gedownloadet aber beim Kompilieren, bekomme ich
eine fehlermeldung, dass die Unit re_contextpopup fehlt
Delphi-Quellcode:
...
uses re_contextpopup;
...
Edit:
Ich habe folgenden Code gefunden :
Delphi-Quellcode:
procedure TForm1.Undo1Click(Sender: TObject);
begin
with Richedit1 do
  if HandleAllocated then
    SendMessage(Handle, EM_UNDO, 0, 0);
end;

procedure TForm1.Redo1Click(Sender: TObject);
begin
with Richedit1 do
  if HandleAllocated then
    SendMessage(Handle, EM_UNDO, 1, 0);
end;
Es geht mindestens einen Schritt zurück und einen Schritt vorne


Alle Zeitangaben in WEZ +1. Es ist jetzt 04:24 Uhr.
Seite 2 von 2     12   

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz