Getting around in VB design mode ...


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 5 of 5

Thread: Getting around in VB design mode ...

Hybrid View

  1. #1
    Shannon Guest

    Getting around in VB design mode ...


    Is there an easier way to get around inside my app when trying to get to a
    SUB, other than clicking the form or control, then clicking to "general,"
    then clicking to the specific SUB I'm looking for, etc.? This gets a little
    frustrating when I'm trying to go back and forth between two or three SUB
    routines, particularly as my app gets bigger.

    I've read everything I can find in the documentation. Is it possible
    there are some tricks MS has not made clear? Perhaps I can click on a CALL
    statement or ???

    Wishful thinking? Any suggestions appreciated.

  2. #2
    Michael Cole Guest

    Re: Getting around in VB design mode ...


    "Shannon" <se_eckert@hotmail.com> wrote in message
    news:3c8eb7f7$1@10.1.10.29...
    >
    > Is there an easier way to get around inside my app when trying to get to a
    > SUB, other than clicking the form or control, then clicking to "general,"
    > then clicking to the specific SUB I'm looking for, etc.? This gets a

    little
    > frustrating when I'm trying to go back and forth between two or three SUB
    > routines, particularly as my app gets bigger.
    >
    > I've read everything I can find in the documentation. Is it possible
    > there are some tricks MS has not made clear? Perhaps I can click on a

    CALL
    > statement or ???


    Use Shift-F2 with the sub name highlighted




  3. #3
    Dean Earley Guest

    Re: Getting around in VB design mode ...

    "Michael Cole" <michael.cole@hansen.com> wrote in message news:3c8ec34d$1@10.1.10.29...
    >
    > "Shannon" <se_eckert@hotmail.com> wrote in message
    > news:3c8eb7f7$1@10.1.10.29...
    > >
    > > Is there an easier way to get around inside my app when trying to get to a
    > > SUB, other than clicking the form or control, then clicking to "general,"
    > > then clicking to the specific SUB I'm looking for, etc.? This gets a

    > little
    > > frustrating when I'm trying to go back and forth between two or three SUB
    > > routines, particularly as my app gets bigger.
    > >
    > > I've read everything I can find in the documentation. Is it possible
    > > there are some tricks MS has not made clear? Perhaps I can click on a

    > CALL
    > > statement or ???

    >
    > Use Shift-F2 with the sub name highlighted


    And CTRL+SHIFT+F2 to go back again. It also sounds liek you have single procedure view switched on instead of full module.

    Go to Tools/Options/Editor, and make sure 'Default to Full Module View' is ticked, and that the rightmost of the 2 buttons in the
    bottom left of the code window is clicked.

    --
    Dean Earley (dean.earley@icode.co.uk)
    Assistant Developer

    iCode Systems



  4. #4
    Mark Alexander Bertenshaw Guest

    Re: Getting around in VB design mode ...


    "Shannon" <se_eckert@hotmail.com> wrote:
    >
    >Is there an easier way to get around inside my app when trying to get to

    a
    >SUB, other than clicking the form or control, then clicking to "general,"
    >then clicking to the specific SUB I'm looking for, etc.? This gets a little
    >frustrating when I'm trying to go back and forth between two or three SUB
    >routines, particularly as my app gets bigger.
    >
    >I've read everything I can find in the documentation. Is it possible
    >there are some tricks MS has not made clear? Perhaps I can click on a CALL
    >statement or ???
    >
    >Wishful thinking? Any suggestions appreciated.


    Shannon -

    As well as the other suggestions - have a look at the Edit menu (or Edit
    toolbar for that matter - which is better). Right at the bottom is the Bookmarks
    menu. I use this all the time. If only you could save the bookmarks with
    the code!

    Oh yes, and you can split the code pane into two. Go to the top right of
    the code pane, look for a tiny grey rectangle, and drag it down.

    --
    Mark Alexander Bertenshaw
    Programmer/Analyst
    Chordiant Software, Inc.
    Brentford
    UK

  5. #5
    Phil Weber Guest

    Re: Getting around in VB design mode ...

    > Oh yes, and you can split the code pane into two.

    Shannon: Just to clarify how this would help in your current situation: you
    can scroll the upper portion of the code window to one Sub, and the lower
    portion to another, then jump between them simply by clicking on one split
    or the other.
    ---
    Phil Weber



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center