Results 1 to 4 of 4

Thread: Disable hotkeys (F2, F5, etc.) in Visual Basic 6 IDE

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2017
    Posts
    761

    Question Disable hotkeys (F2, F5, etc.) in Visual Basic 6 IDE

    Hello!

    Is there a way to disable making VB6 react to the F2 keys, for example like F2 which displays the View > Object Browser window.

    I guess only by editing the registry, but I haven't found a way yet.

    Thank you very much!!

  2. #2

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2017
    Posts
    761

    Re: Disable hotkeys (F2, F5, etc.) in Visual Basic 6 IDE

    The same question was already asked here: https://www.vbforums.com/showthread....oard-Shortcuts

    However, mztools didn't allow me to do that, and I don't understand what he meant by

    "I have added Definition' to the Toolbar, and just click in the variable, then click 'Definition' in the Toolbar"

    Can anybody explain?
    Last edited by tmighty2; Jun 19th, 2022 at 07:12 AM.

  3. #3
    Addicted Member
    Join Date
    Oct 2011
    Posts
    179

    Re: Disable hotkeys (F2, F5, etc.) in Visual Basic 6 IDE

    Quote Originally Posted by RhinoBull View Post
    I think MZTools allows you ...
    Quote Originally Posted by Hack View Post
    I think, as Rhino mentioned, some third party tool...
    Maybe not?

    Quote Originally Posted by tmighty2 View Post
    I don't understand what he meant by

    "I have added Definition' to the Toolbar, and just click in the variable, then click 'Definition' in the Toolbar"

    Can anybody explain?
    That's not about MZTools, but about showing definitions easily (the reason why the person wanted to change the shortcut):

    Quote Originally Posted by agmorgan View Post
    Specifically I want to change jump to definition (Shift+F2) to Ctrl+Left-Click
    Quote Originally Posted by RobCrombie View Post
    Or, you could do what I do
    I have added Definition' to the Toolbar, and just click in the variable, then click 'Definition' in the Toolbar
    'Definition' is a menu option that is inside the 'View' menu, but has nothing to do with changing shortcuts.

  4. #4
    Addicted Member
    Join Date
    Oct 2011
    Posts
    179

    Re: Disable hotkeys (F2, F5, etc.) in Visual Basic 6 IDE

    And about your main question: I don't know, perhaps with some hooking via an add-in.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width