Wednesday, April 30, 2014

Tip 5.15: Why does each Toolbox group have a Pointer control?

"Visual Studio Tips, 251 ways to improve your Productivity in Visual Studio", courtesy of 'Sara Ford'

Sara Ford's Blog



You've probably noticed how the Pointer control appears at the top of each tab group. This is because whenever a control is selected in the Toolbox, the mouse pointer automatically becomes a drag pointer for that control, meaning that you just have to put your mouse pointer onto the form and click, and the control is dropped. You don't have to hold down any keys to do the actual drag.

But you may not actually want to use the drop function at this time. You can put the focus on the Pointer control to ensure that you don't accidentally drop the item.

VSTip5150

Happy Programming! =)
Posted by Nils-Holger at 11:57 AM with 508 comments.

Tuesday, April 29, 2014

Tip 5.14: You can drag and drop code onto the Toolbox's General tab

"Visual Studio Tips, 251 ways to improve your Productivity in Visual Studio", courtesy of 'Sara Ford'

Sara Ford's Blog



This tip is especially helpful if you are going to write code in a presentation. Instead of having to type code in front of everyone, you can have it all typed up on the side, ready to go! You've probably noticed the Toolbox General tab showing this information by default.

VSTip5140

Probably one of the best-kept secrets is that you can actually drag and drop code onto the Toolbox. Just highlight some text and then Click+Drag and that text into the General tab. You'll see the following:

VSTip5140a

But it gets better. You can actually drag code to any tab on the Toolbox, including user-created tabs. Note that you may need to select Show All on the Toolbox context menu to display additional tabs so that you can drag the code onto the tab. But after that, the tab will appear whenever you can insert code.

VSTip5140b

Happy Programming! =)
Posted by Nils-Holger at 1:10 PM with 779 comments.

Monday, April 28, 2014

Tip 5.13: You cannot enable Stop Search on the Output window

"Visual Studio Tips, 251 ways to improve your Productivity in Visual Studio", courtesy of 'Sara Ford'

Sara Ford's Blog



Sara Aside

You may have noticed the Stop Search command on the Output window context menu. She spent a good 20 minutes trying to figure out how to enable this command before she broke down and e-mailed the developer.


VSTip5130

Apparently, you can't enable it. It's because the Output window and the Find Results window share a lot of implementation, and it should have been hidden for the Output window case.

Happy Programming! =)
Posted by Nils-Holger at 12:03 PM with 695 comments.