Groups | Blog | Home
all groups > c# > january 2007 >

c# : Allow Tab in a RichTextBox?


Mark R. Dawson
1/14/2007 8:34:00 PM
Hi,
set the AcceptsTab property to true, you will then not tab out of the text
area and a tab will be inserted into the text.

Mark.
--
http://www.markdawson.org
http://themightycoder.spaces.live.com


[quoted text, click to view]
Michael A. Covington
1/14/2007 11:22:05 PM
How do I allow the user to use the Tab key (to insert a Tab) in a
RichTextBox? The sticking point is how to get Tab to generate a KeyDown
event rather than simply moving the focus to the next control.

Michael A. Covington
1/15/2007 12:40:37 AM

[quoted text, click to view]

Outstanding! Thanks.

AddThis Social Bookmark Button