Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



How to set a shortcut key for label in Vb?

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 27-02-2009
Member
 
Join Date: Feb 2009
Posts: 6
How to set a shortcut key for label in Vb?
  

Hello,

How to set a shortcut key for label in VB.
pls i want to know that is there any keyboard shortcut for bringing the label ctrl in the form.
Thanks!

Reply With Quote
  #2  
Old 27-02-2009
Member
 
Join Date: Jan 2009
Posts: 44
Re: How to set a shortcut key for label in Vb?

by usemenomonic=true
Reply With Quote
  #3  
Old 27-02-2009
Member
 
Join Date: May 2008
Posts: 115
Re: How to set a shortcut key for label in Vb?

object.KeyLabel(keycode) [= string]
You would probably create the menu item as follows:
.Add “keyFile”, , , “E&xit”, , vbAltMask + vbCtrlMask, vbKeyEnd
The default key label for vbKeyEnd is “End”. Thus, the shortcut string will be created by default as “Ctrl+Alt+End”.
Reply With Quote
  #4  
Old 27-02-2009
Member
 
Join Date: May 2008
Posts: 63
Re: How to set a shortcut key for label in Vb?

Hi,
You can assign the shortcut key to label. But the event will not be fired like buttons.
If you use the shortcut key, the focus will be set to the next control which as higher tab index.
Reply With Quote
  #5  
Old 27-02-2009
Member
 
Join Date: May 2008
Posts: 13
Re: How to set a shortcut key for label in Vb?

For no mouse to get to the tollbox use as follows :

Press Alt on your keyboard, you should notice the File Menu becomes selected, then using the arrow keys scroll accross to view, and press down.
Using the arrow keys scroll down to Toolbox, and hit enter.
You should now realise that in VB's IDE the Toolbox is now highlighted, to which you can use either Tab or the arrow keys to navigate arround, pressing Enter to add a control.
Enjoy.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How to set a shortcut key for label in Vb?"
Thread Thread Starter Forum Replies Last Post
creating shortcut keys for a desktop shortcut annroberti Windows XP Support 6 15-03-2012 12:34 PM
label inside a rectangle Linux-Us Software Development 2 21-11-2009 01:59 PM
What is drive's Volume Label Abbie Hardware Peripherals 3 13-06-2009 08:30 PM
Remove ‘- Shortcut’ Suffix for a Shortcut Created in Windows Vista Maxforu Tips & Tweaks 1 24-03-2009 09:30 PM
Motherboard with no label q_nanotubes Motherboard Processor & RAM 2 09-06-2008 07:51 PM


All times are GMT +5.5. The time now is 01:22 PM.