Autor Beitrag
Natti
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 50



BeitragVerfasst: Fr 21.02.03 15:38 
Hallo!

Ich habe folgendes Problem:

1. sobald ich im RichEdit etwas markiere und dann "ENTF"-Taste drücke, dann wird der ganze Text gelöscht.

2. wenn nichts markiert ist, dann keine Reaktion

Hilfe!!!
:cry:
:evil:
Cyrus
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 56



BeitragVerfasst: Fr 21.02.03 16:34 
hast du was im ereigniss onkeypress definiert ?
wenn ja kannst du den code mal posten

sonst füge diesen code im onkeypress ereignis ein:

ausblenden Quelltext
1:
2:
3:
4:
  if key=chr(8) then
  begin
    richedit1.SelText:='';
  end;


Greez Cyrus

_________________
Wer glaub er ist, hört auf zu werden!
Delphi Rulez!!!