Home Contact

Brian Sherwin's Blog

Moving at the Speed of .Net

News

Twitter












Tag Cloud


Archives

Links

Syndication:

Visual Studio Tips

James Avery pointed out a Visual Studio tip blog by Sara Ford.  While reading the first page of items to see if I should subscribe, I noticed that she had an accessibility macro for increasing the font size.  Well, this could come in real handy during a training session, so I thought I’d try it out.  It’s not in VS2003.  So I decided to create the macro myself.  The following snippets were added to the my macros and then assigned to the keyboard.  I now have a font size up and font size down for easy training.  Thanks for the motivation Sara.

    Sub FontUpByTwo()

        DTE.Properties("FontsAndColors", "TextEditor").Item("FontSize").Value += 2

    End Sub

 

    Sub FontUpDownTwo()

        DTE.Properties("FontsAndColors", "TextEditor").Item("FontSize").Value -= 2

    End Sub

 This follows the commonly accepted (but probably should be required) principles of presentation.  See Scott Hanselman’s post


Feedback

No comments posted yet.


Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification: