Announcement

Collapse
No announcement yet.

Little VB Question

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Little VB Question

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

  • #2
    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
    Car: About to change

    Player: VIA Eden, 256Mb RAM, Bootable from 64MB Compactflash, 40GB MP3 HD, IRMan, Wireless Keyboard, 5.6" In-dash TFT, 12v DC-DC, running Windows XP Embedded with Wireless LAN, Mobile Internet, GPS Sat Navigation.

    == Running MediaEngine for the front end whilst I build a front end in VB.NET, but may stick with ME 2.0 ==

    Comment


    • #3
      I knew it had to be easy, thx!

      Comment


      • #4
        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?

        Comment


        • #5
          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 :(

          Comment

          Working...
          X