Click here to Skip to main content
15,891,248 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How do I enlarge the size of richtextbox's Scrollbars

I tried changed this code..
C#
            // rtbBypassInfo
           
               this.rtbBypassInfo.Location = new System.Drawing.Point(11, 78);
               this.rtbBypassInfo.Name = "rtbBypassInfo";
               this.rtbBypassInfo.Size = new System.Drawing.Size(705, 470);
               this.rtbBypassInfo.TabIndex = 20;
               this.rtbBypassInfo.Text = "";
this point ->  this.rtbBypassInfo.Scrollbars.Size = new ......


I wanna enlarge the width of Scrollbar in RichTextbox....

please help! thx!!!

What I have tried:

nothing.... ㅠ_ㅠ somebody help me...
Posted
Updated 18-Nov-18 23:45pm
Comments
Aydin Homay 19-Nov-18 3:18am    
May I ask why you want to resize the scrollbar and what you would like to achieve by this?

1 solution

I don't think this is possible in C#, so you would need to do some interop, see example here: c# - Winforms - Adjust width of vertical scrollbar on CheckedListBox - Stack Overflow[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900