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
Security Picture

Photos

Marine
Show All
Me in MSDN Forums
-   Answered the question Close some open windows by name in the Visual C# General forum
-   Answered the question Close some open windows by name in the Visual C# General forum
-   Answered the question Datagridview Click Event in C#.net in the Visual C# General forum
-   Contributed a proposed answer to the question Close some open windows by name in the Visual C# General forum
-   Replied to the question Datagridview Click Event in C#.net in the Visual C# General forum
-   Replied to the question Close some open windows by name in the Visual C# General forum
-   Contributed a helpful post (total votes:2) to the forums thread Array of events? in the Visual C# General forum
-   Answered the question Displaying random images from resources in the project in the Visual C# Language forum
-   Contributed a helpful post (total votes:1) to the forums thread sorted dictionary (Can i get key from value) in the Visual C# General forum
-   Contributed a proposed answer to the question Non-existing Argument in format string in the Visual C# General forum
Entries
News
Articles