Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / General / July 2007

Tip: Looking for answers? Try searching our database.

Tab navigation in VS2005

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Vincent Fatica - 29 Jul 2007 18:40 GMT
Are there toolbar buttons I can install, or keystrokes, which will
cycle through the tabbed documents regardless of their type (source,
help, et c.) in the order in which I visited them?

For example, if I'm editing foo.cpp, select the text "CallWindowProc",
and click the Dynamic Help's "CallWindowProc" link, I go to a tab
showing the help for that function.  At this point, how can I, with a
click or a keystroke, return to foo.cpp (and perhaps with  further
actions go back and forth between the two pages)?

Thanks.

- Vince
Bob Johnson - 29 Jul 2007 20:23 GMT
Ctrl + Tab enables you to switch amongst tabs within an MDI application.

Alt + Tab enables you to switch amongst running applications.

-HTH

-"Bob"

> Are there toolbar buttons I can install, or keystrokes, which will
> cycle through the tabbed documents regardless of their type (source,
[quoted text clipped - 9 lines]
>
> - Vince
Vincent Fatica - 30 Jul 2007 02:53 GMT
>Ctrl + Tab enables you to switch amongst tabs within an MDI application.

That works in a peculiar way in VS2005.  <Ctrl-Tab> opens a dialog
showing documents and toolbars.  If you ignore the dialog and simply
release <Ctrl> you're taken to the last document.  Repeating that will
alternate between the two documents regardless of their type.  That
suffices for toggling between a help document and a source document.
Do you know if the same thing can be done with a VS toolbar button?

Thanks.

- Vince
Bob Johnson - 30 Jul 2007 08:18 GMT
RE:
<<  Do you know if the same thing can be done with a VS toolbar button? >>

By definition (of what ctrl + Tab is), the answer is no - it's specifically
for navigating amongst opened documents within an MDI environment.

Apparently you are wanting to hit a key sequence and effectively click a
toolbar button. I doubt Visual Studio natively does that. Even so, you can
create a macro that effectively clicks the button in Visual Studio and
assign a keyboard shortcut sequence to the macro.

BTW: Ctrl + Tab works in many [practically every?] MDI application - SQL
Server Management Studio, Visio, Excel, etc... not just Visual Studio.

and that little dialog box - if you open a bunch of documents, that little
dialog box that appears lets you select the specific opened doc to go to --  
not just the last one. And same for Alt + Tab in Windows - the dialog will
show all running applications and let you jump to any specific app - not
just the last one.

-HTH

>>Ctrl + Tab enables you to switch amongst tabs within an MDI application.
>
[quoted text clipped - 8 lines]
>
> - Vince
Vincent Fatica - 30 Jul 2007 16:05 GMT
>Apparently you are wanting to hit a key sequence and effectively click a
>toolbar button. I doubt Visual Studio natively does that. Even so, you can
>create a macro that effectively clicks the button in Visual Studio and
>assign a keyboard shortcut sequence to the macro.

No, the other way around.  I'd like a button that emulates <Ctrl-Tab>.

I could probably cook up an external tool (EXE) that'll do that.

- Vince

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.