Autor Beitrag
danielpt
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 81

Windows 2000 Professional SP4
D6 Personal
BeitragVerfasst: Fr 08.08.03 21:05 
Hallo! Kann mir jemand bitte die Source für den "Wiederholen"-Befehl oder den Redo-Befehl ... Das ganz für eine RichEdit-Box...

thx

ausblenden Delphi-Quelltext
1:
2:
3:
if  :idea: 
 danielpt := freu
end;


;)

_________________
cu daniel
Aya
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1964
Erhaltene Danke: 15

MacOSX 10.6.7
Xcode / C++
BeitragVerfasst: Fr 08.08.03 21:57 
Hi,

du mußt die Unit "richedit" in dein Projekt einbinden und dann:

ausblenden Delphi-Quelltext
1:
2:
  RichEdit1.Perform(EM_UNDO,0,0); //Für Undo
  RichEdit1.Perform(EM_REDO,0,0); //Für Redo


Au'revoir,
Aya~

_________________
Aya
I aim for my endless dreams and I know they will come true!
danielpt Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 81

Windows 2000 Professional SP4
D6 Personal
BeitragVerfasst: Fr 08.08.03 22:38 
Ähmm, da kommt immer ne Fehlermeldung:

"Undifinierter Bezeichner: 'EM_REDO'"

:?: :?: :?:

_________________
cu daniel
Aya
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1964
Erhaltene Danke: 15

MacOSX 10.6.7
Xcode / C++
BeitragVerfasst: Fr 08.08.03 22:42 
Hast du die Unit "Richedit" in deine Unit wo du den Befehl verwendest eingebunden?

_________________
Aya
I aim for my endless dreams and I know they will come true!
danielpt Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 81

Windows 2000 Professional SP4
D6 Personal
BeitragVerfasst: Sa 09.08.03 06:24 
nein, hatte ich nicht... :(

Aber jetzt gehts.. :lol:

_________________
cu daniel