Re: Tabbing in a TRichEdit

Posted by joe90 on June 01, 2005

In Reply to: Re: Tabbing in a TRichEdit posted by Jenny on June 01, 2005

: : I'm wanting to know if it's possible to remove the tabbing of Ctrl and I when in a TRichEdit. I'm using Ctrl and I to set italics..

: Write this in the Delphi RichEdit OnKeyPress event handler:

: begin
:   if Key = #9 then
:     Key := #0; // disable indent function
: end;

Thanks a lot :).