Results 1 to 3 of 3

Thread: F10 button -> disable

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2000
    Posts
    7
    I need to use F10 button to my program (completely), but it seems to be windows default button to activate menu. Is there any way to disable this
    adjustment?

    Thank you
    Jani T

  2. #2
    Frenzied Member Buzby's Avatar
    Join Date
    Jan 1999
    Location
    UK
    Posts
    1,670
    You might be able to do it by using this tip;

    http://www.vb-world.net/mouse/tip80.html

    to create F10 as a hotkey for your application.

    ?
    'Buzby'
    Visual Basic Developer
    "I'm moving to Theory. Everything works there."

  3. #3
    Junior Member
    Join Date
    Apr 2000
    Posts
    24

    Just...

    From what I gather the original button for that is the space bar. Once space is assigned it switches to something else...and so on and so on. Just assign the F10 key to do something else like this:


    If KeyCode = vbKeyF10 Then KeyCode = 65
    ' Reassigns the KeyCode to something else

    If KeyCode = vbKeyA Then

    Print "Bob"

    End If


    That should work.

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