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

Print | posted on Tuesday, May 10, 2005 4:22 PM

Feedback

No comments posted yet.
Title  
Name
Email (never displayed)
Url
Comments   
Please add 2 and 7 and type the answer here: