Autor Beitrag
Popov
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 1655
Erhaltene Danke: 13

WinXP Prof.
Bei Kleinigkeiten D3Pro, bei größeren Sachen D6Pro oder D7
BeitragVerfasst: Sa 24.11.07 12:35 
Ist mir jetzt etwas peinlich, aber wie kann man aus TRichEdit den markierten Text löschen? Ich meine nicht CutToClipboard und auch nicht Zeile löschen. Ich finde keine Methode dafür. Gibt es dafür überhaupt eine Methode oder finde ich die bloß nicht?

_________________
Popov
TProgger
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 148

XP
D6, D2007 prof
BeitragVerfasst: Sa 24.11.07 12:37 
RichEdit.Delete(SelText) oder so ähnlich, kann jetzt im Moment nicht nachschauen oder
RichEdit.Seltext:='';

_________________
Wir haben für jede Lösung das richtige Problem ;)
Popov Threadstarter
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 1655
Erhaltene Danke: 13

WinXP Prof.
Bei Kleinigkeiten D3Pro, bei größeren Sachen D6Pro oder D7
BeitragVerfasst: Sa 24.11.07 12:42 
Ich habs, es ist ClearSelection. Ich hab nicht den Hilfetext gelesen und der Name klang mir eher nach entfernen der Markierung. Ist aber entfernen des Textes.

Sache erledigt. Danke.

_________________
Popov