trichview.com

trichview.support




Re: CTRL+I


Return to index


Author

Message

Sergey Tkachenko

Posted: 07/11/2002 23:20:50


You can see the same effect in TEdit and TMemo.


Add the following code in OnKeyPress


procedure TForm1.RichViewEdit1KeyPress(Sender: TObject; var Key: Char);

begin

  if (Key=#9) and ((GetKeyState(VK_CONTROL) and $8000)<>0)  then

    Key := #0;

end;


> does everyone now why has CTRL+I same effect like CTRL+TAB (move text at

the

> cursor 8 character to right) in richviewedit a how to disable it?

>

> greetings miro

>

>





Powered by ABC Amber Outlook Express Converter