Heike
Sep 6th, 2002, 05:14 AM
I have a problem with shortcuts on buttons.
Just like I know from VB6 and like I read in a VB.net documentation I use the ampersand & in the text property to assign a shortcut to my button (e.g. button.text = "&Cancel"). Now I have a funny effect: the first time I open my form, everything looks like expected, the shortcut letter has an underscore. But when I open the form a second time, no underscore is there.
Perhaps you need to know that I am developing an AddIn for Word2000.
Any ideas?
Just like I know from VB6 and like I read in a VB.net documentation I use the ampersand & in the text property to assign a shortcut to my button (e.g. button.text = "&Cancel"). Now I have a funny effect: the first time I open my form, everything looks like expected, the shortcut letter has an underscore. But when I open the form a second time, no underscore is there.
Perhaps you need to know that I am developing an AddIn for Word2000.
Any ideas?