G Guest Apr 24, 2004 #1 How do I create a handler for when the user presses the "Ctrl + B" Keys Example Private Sub Control_B Handles Ctrl+B ????
How do I create a handler for when the user presses the "Ctrl + B" Keys Example Private Sub Control_B Handles Ctrl+B ????
D Dominique Vandensteen Apr 24, 2004 #2 set the Form.KeyPreview property to True then use KeyUp or KeyDown event and check if Ctrl+B is pressed
set the Form.KeyPreview property to True then use KeyUp or KeyDown event and check if Ctrl+B is pressed
A Armin Zingler Apr 24, 2004 #3 Bob said: How do I create a handler for when the user presses the "Ctrl + B" Keys? Example: Private Sub Control_B Handles Ctrl+B ???? Click to expand... http://msdn.microsoft.com/library/en-us/vbcon/html/vbconMouseKeyboardInteractions.asp -- Armin How to quote and why: http://www.plig.net/nnq/nquote.html http://www.netmeister.org/news/learn2quote.html
Bob said: How do I create a handler for when the user presses the "Ctrl + B" Keys? Example: Private Sub Control_B Handles Ctrl+B ???? Click to expand... http://msdn.microsoft.com/library/en-us/vbcon/html/vbconMouseKeyboardInteractions.asp -- Armin How to quote and why: http://www.plig.net/nnq/nquote.html http://www.netmeister.org/news/learn2quote.html
H Herfried K. Wagner [MVP] Apr 24, 2004 #4 * =?Utf-8?B?Qm9i?= said: How do I create a handler for when the user presses the "Ctrl + B" Keys? Example: Private Sub Control_B Handles Ctrl+B ???? Click to expand... Add a menu with a menu item, choose Ctrl+B as shortcut for the menu item, set the menu to invisible and place the code in the menu item's 'Click' event handler.
* =?Utf-8?B?Qm9i?= said: How do I create a handler for when the user presses the "Ctrl + B" Keys? Example: Private Sub Control_B Handles Ctrl+B ???? Click to expand... Add a menu with a menu item, choose Ctrl+B as shortcut for the menu item, set the menu to invisible and place the code in the menu item's 'Click' event handler.