Quick Jumps to the Declaration Section

Quick Jumps to the Declaration Section

I often want to get to the General code section of a form quickly, either to hack module-level variables or tograb the procedure pull-down to find that function whose name I forgot. Double-clicking on the form givesyou Form procedures. Clicking on “View Code” from the menu or project box does the same unless noform is open.To solve this, put an oval Shape control with an obnoxious color on all your forms and make it invisible. Ofcourse, nothing is invisible in design mode, and because shapes have no event procedures, double-clickingon it takes you to the General/Declarations page every time.Note that under VB4 and VB5, you might enforce Full Module View, in which case you can jump to thedeclaration section simply by pressing Ctrl-Home.

See also  How to Avoid Money Transfer Scams  

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist