G
Guest
I have a problem with accelerator keys for button controls on my vb.net project (Windows forms)
Accelerator shortcuts (ampersand) in .text property do not seem to work with Button controls. They appear to work OK, however, with textboxes. With buttons, when running the application the underlined character shows up OK, but pressing Alt and that character (just a letter P, in this case) does not cause the cursor to navigate to the button (or anywhere at all).
Yet this works fine with textbox controls, that have an adjacent label control
Anyone know if this is a common problem and what to do about it
Thanks
Accelerator shortcuts (ampersand) in .text property do not seem to work with Button controls. They appear to work OK, however, with textboxes. With buttons, when running the application the underlined character shows up OK, but pressing Alt and that character (just a letter P, in this case) does not cause the cursor to navigate to the button (or anywhere at all).
Yet this works fine with textbox controls, that have an adjacent label control
Anyone know if this is a common problem and what to do about it
Thanks