Türkçe   |   English
Calendar
Categories
Archive
Links
Blogroll
Files

RichTextBox BorderStyle.FixedSingle Problem and Solution - 11.11.2009
When BorderStyle property of RichTextBox is set to FixedSingle it still acts as Fixed3D. MSDN writes that BorderStyle FixedSingle is not suported for RichTextBox in http://msdn.microsoft.com/en-us/library/system.windows.forms.textboxbase.borderstyle(VS.80).aspx
However there is a workaround to get the desired look of RichTextBox. Putting the RichtextBox into a Panel that has FixedSingle BorderStyle and setting the dock property of RichTextBox to fill and BorderStyle property of RichTextBox to none will solve the problem.
Clues

Add Comment
First Name Last Name
Web Site
E-Mail
Comment




Photos

Las Vegas 1
Show All
Me in MSDN Forums
Entries
News
Articles