Results 1 to 5 of 5

Thread: Little VB Question

  1. #1
    FLAC
    Join Date
    Jan 2001
    Posts
    1,612

    Little VB Question

    How do I make it so that a shortcut key will toggle a command button?

  2. #2
    Low Bitrate
    Join Date
    Jan 2002
    Location
    UK
    Posts
    87
    On the caption property of the command button put an ampersand (&) in front of the key you wish to be the shortcut key

    i.e for a shortcut of Alt-P do &Pause as the caption.

    Just be sure that there are no other shortcuts associated with the keys you are using.

    Hope this helps,

    Gareth

  3. #3
    FLAC
    Join Date
    Jan 2001
    Posts
    1,612
    I knew it had to be easy, thx!

  4. #4
    FLAC PatO's Avatar
    Join Date
    Dec 2000
    Location
    Afton MN
    Posts
    1,120
    It's going to be extremely difficult to determine what "VB" stands for from now on...
    http://www.jeepmp3.com/
    CarPC Stolen. Starting over.
    Ne1 recognize the avatar?

  5. #5
    FLAC
    Join Date
    Apr 2001
    Location
    Here, There, Everywhere
    Posts
    1,436
    Originally posted by PatO
    It's going to be extremely difficult to determine what "VB" stands for from now on...

    VB = Visual Basic
    VB = vBulletin
    VB = Victoria Bitter (Melbourne Beer!)
    VB = Victoria Beckham (Posh Spice, she has her own clothing line)


    come on guys, it aint that bad
    Project - GAME OVER :(

Bookmarks

Posting Permissions

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