Click here to Skip to main content
15,901,505 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Is there a way to hide the scroll bars on a VB.Net panel? We have written code to allow the user to scroll using a touch screen and do not need to see the scroll bar. I know it has to be there for the scrolling to work, but would like to hide it from view.

Thanks

John
Posted
Updated 19-Nov-10 4:47am
v2
Comments
Sandeep Mewara 19-Nov-10 10:33am    
winforms or web app?

If you delete/hide the scrollbar, how is the user going to know that he can/should scroll the form, or where he is in relation to the top/bottom of the scrollable area?

Use the "Add Comment" link to respond.
 
Share this answer
 
v3
Is there a problem setting MyPanel.AutoScroll = False either in the designer or in code?
 
Share this answer
 
Comments
John-L 19-Nov-10 14:28pm    
If I do that then scrolling will not work.

Thanks

John
Dr.Walt Fair, PE 19-Nov-10 15:02pm    
Oh, OK, I understand now. You might have to disable AutoScroll and manually paint the panel. (That doesn't sound like fun. Personally I think I'd live with the scroll bars.)

Sorry I couldn't be of more help.

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