Re: Tabbing in a TRichEdit

Posted by Jenny on June 01, 2005

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

: Hi

: 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..

: Kind regards,

: Joe

Write this in the Delphi RichEdit OnKeyPress event handler:

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

Related Articles and Replies