|
-
Sep 6th, 2002, 05:14 AM
#1
Thread Starter
Lively Member
shortcut
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?
-
Sep 6th, 2002, 05:37 AM
#2
Member
maybe simple?
Do you edit the text of the button during runtime? what is the code?
-
Sep 6th, 2002, 05:50 AM
#3
Thread Starter
Lively Member
No, I don't edit the text during runtime. This behaviour is in all of my forms the same. Once I opened a form, no underscore is seen in any form. Not in the button and not in my menu either. I need to click ALT to see the shortcut.
-
Mar 10th, 2003, 06:49 AM
#4
Hyperactive Member
Access Keys
-----------
The issue regarding the visbility of access key markers on the menu is apparently an Operating System feature for Win2K. To display the access keys the Alt key must be depressed.
This feature can be turned of by going to Conrol Panels->Display->Effects->Visual Effects and uncheck Hide keyboard navigation indicators until I use the Alt key.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|