Buttons not working with the alt+letter hot keys 
Author Message
 Buttons not working with the alt+letter hot keys

Hi all,

Thanks for the help in advance if you can.  Just started
working with VB .Net and couldn't gt through the first
chapter without having a problem.  

When installing buttons in a layout, I'm naming them, and
using the ampersand (&) in the name of the button to get
an underline under the letter and to use for Alt + that
letter to be able to press it by just using the keyboard.

When I hit the F5 button or the run command, the file
opens up showing the layout, but the letters are not
underlined.  They don't become underlined until after I
hit the Alt button and just the alt button.  If I thentry
and hit the alt and an underlined letter to get a box to
highlight, it doens't work.

I know this is probably something very basic, but between
reading the book for more information and using the online
help pages in the program, I was getting the impression
that this was all done automatically.

Can't seem to find any other information on it, and so I'm
here.

Thanks again
KB



Sat, 29 Jan 2005 21:55:17 GMT  
 Buttons not working with the alt+letter hot keys


Quote:
> Hi all,

> Thanks for the help in advance if you can.  Just started
> working with VB .Net and couldn't gt through the first
> chapter without having a problem.

> When installing buttons in a layout, I'm naming them, and
> using the ampersand (&) in the name of the button to get
> an underline under the letter and to use for Alt + that
> letter to be able to press it by just using the keyboard.

> When I hit the F5 button or the run command, the file
> opens up showing the layout, but the letters are not
> underlined.  They don't become underlined until after I
> hit the Alt button and just the alt button.  If I thentry
> and hit the alt and an underlined letter to get a box to
> highlight, it doens't work.

> I know this is probably something very basic, but between
> reading the book for more information and using the online
> help pages in the program, I was getting the impression
> that this was all done automatically.

> Can't seem to find any other information on it, and so I'm
> here.

> Thanks again
> KB

I can't seem to make this not work.  Is this a Windows form or a web form?

---
VBnet4Apps
http://www.avenuezx.com/vbnet4apps/



Sat, 29 Jan 2005 23:05:18 GMT  
 Buttons not working with the alt+letter hot keys
Try this:

Right click on your desktop and then select Property:

Select the Tab "Effects"

Clear the Checkbox "Show indicators of keyboard exploration only on pressing
Alt"

(these are translation from italian so you have to adapt to the language of
your O.S.)

Hope this helps.

Mario



Sun, 30 Jan 2005 00:06:18 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Type of Hot Key Behavior Not Working in VB

2. Toolbar button caption does not support ALT keys

3. Block System Key like ALT+TAB, Ctrl+Alt+Del, Ctrl+Esc key

4. Command button Hot Keys

5. How is Command Button used with Alt key?

6. Access Keys working without pressing 'ALT'

7. ALT Key Doesn't Work In OCX?

8. DBGrid Delete Key function not working on some DBGrids while it works on others

9. Help: Lostfocus not executed when ALT key pressed

10. VBA : assigning a macro to Alt+d does not work, but works with any other letter.

11. How to block ALT+TAB and CTRL+ALT+DEL key

12. How to block ALT+TAB and CTRL+ALT+DEL key

 

 
Powered by phpBB® Forum Software