troubleshooting Question

C# Multiline Textbox scrolling without scrollbar visible

Avatar of jubinedachery
jubinedachery asked on
.NET ProgrammingC#
7 Comments1 Solution14535 ViewsLast Modified:
I have a multiline TextBox in a C# WinForm which is databound and so the Text is updated dynamically by user interaction.

The issue is: The TextBox sometimes has text that go beyond the length. When user clicks on the textbox and user the arrow keys - they can scroll down.
However, if the user clicks on the text box and tries to scroll down with the mousewheel - it doesnt scroll down - nothing happens.
I can do this by adding a vertical Scrollbar - but is there a way to do mousewheel scrolling without adding a vertical Scrollbar. Vertical Scrollbar looks ugly and i want to either be able to do this by avoiding it or making it invisible to the user.

Thanks
Jubin
ASKER CERTIFIED SOLUTION
lucky_james

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 7 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 7 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros