Click here to Skip to main content
15,887,027 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In VBA there are 2 drop downs that allow you to quickly write subs, by choosing an object and a related procedure. (i.e. 'button & click' or 'userform & initialize')

I could have sworn I saw this in Visual Studio 2015, but I can't find out how to turn it back on.

Can anyone help me with this?

What I have tried:

I have looked at all the 'View' options and am now scouring the options dialogs. It would help if I knew what it was called.
Posted
Updated 13-Jul-16 6:18am

If you mean "automatically add a handler to an event and insert a blank handler template method" then it's simple:
Highlight the control or form.
Either
1) double click the control (to add the default event - for a Button that's Click, for a Form that's Load)
Or
2) Look at the properties pane and select Events from the pane tools - it looks like a lightning bolt. Double click the event you want to handle.

Either way the blank method will be added for you and you will be taken to the Code view to edit it.
 
Share this answer
 
Tools -> Options -> Text Editor -> Basic -> General. You're looking for the checkbox labeled "Navigation Bar".
 
Share this answer
 

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