Hide the Vertical and/or Horizontal Scroll Bars

Tips Search

If you like the tips then you'll love the book!

Order your copy today:
http://www.amazon.com/gp/product/0735649928

Hide the Vertical and/or Horizontal Scroll Bars

  • Comments 7

Menu:  Tools –> Options –> Text Editor –> General –> Display
Versions:  2008,2010
Published:  5/23/2010
Code:  vstipEdit0058

 

clip_image002

 

This is another one that falls into the “Not Sure Why It’s There” Category.  Unless you are hurting for real estate on the screen there isn’t any reason I can think of to do this but wanted to throw it in for completeness.

You can go to Tools –> Options –> Text Editor –> General –> Display and deselect the “Vertical scroll bar” and/or “Horizontal scroll bar” to make the scroll bars go away.

 

Before:

clip_image004

 

After:

clip_image006

  • I need more "real estate", this tip, combined with the status bar trick gives me back about two lines of code.

  • @richm Full Screen Mode (SHIFT + ALT + ENTER) is the way to go or, for dual screens, rip off one of the code windows and maximize it on one of your screens.

    Z

  • Is there a way to only hide the horizontal scroll bar when it's unneeded?

  • Hey Ryan :)

    Just uncheck the horizontal scrool bar checkbox and it will be hidden.

  • @zainnab Yes, but unfortunately if I uncheck it, the scrollbar remains hidden when I open a document that actually needs it. I wish there was an "auto-hide" option.

  • Good point.  Sadly there isn't an option to hide until needed that I am aware of...

    Z

  • Actually, I was wanting to hide the scroll bar that I inserted into a web page I was creating. It adds both a Horizontal and a Vertical bar, I only want it to display the Vertical bar? Any idea's?

Page 1 of 1 (7 items)
Leave a Comment
  • Please add 4 and 4 and type the answer here:
  • Post