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 / Extensibility / October 2006

Tip: Looking for answers? Try searching our database.

keyboard shortcut

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
fj - 07 Oct 2006 16:59 GMT
I want to jump the cursor 5 lines down. Instead of hit "down arrow" key  5
times, is there any way I can use a keyboard shortcut to do it?

Another question is there a place I can assign keyboard shortcut. I know in
tools/options/environment/keyboard you can do it. But in my case, if I want
to assign a shortcut too move cursor down 5 lines and another shortcut to
move cursor down half a page with the cursor vertically locates in the
center of screen, how can I do it?

Thanks

-fj
Carlos J. Quintero [VB MVP] - 10 Oct 2006 14:57 GMT
You can create a macro like:

Sub MoveDown5()
  DTE.ExecuteCommand("Edit.LineDown")
...
  DTE.ExecuteCommand("Edit.LineDown")
End Sub

and then you can assign a keyboard shorcut to the command created for that
macro (Macros.MyMacros.Module1.MoveDown5 )

Signature

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio
You can code, design and document much faster:
http://www.mztools.com

>I want to jump the cursor 5 lines down. Instead of hit "down arrow" key  5
>times, is there any way I can use a keyboard shortcut to do it?
[quoted text clipped - 8 lines]
>
> -fj

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.