ampersand don't underline my first letter in label
-
Fine ... It still looks like that's what he's trying to do. Ampersand; underline; label; ...
-
That has nothing to do with C/C++. Please post in the correct forum and show the code that is not working.
-
it's in c#, windows form; I followd the steps Label.UseMnemonic Property (System.Windows.Forms)[^] doesn't work
-
it's in c#, windows form; I followd the steps Label.UseMnemonic Property (System.Windows.Forms)[^] doesn't work
-
Well, I think you are talking about a Resource Script of some type. Dealing with a Button or Menu. I must admit, my knowledge of C# is Zero. However, this happens in MFC if you try to use the same Underscore twice. ( As in &Underline in One Menu, and &Undo in another menu) The Framework does not bother to disambiguate, to make you choose between 'Underline' and 'Undo'. The idea of Shortcut Keys is 'Shortcuts', not a philosophical set of Dialogs about what you Really meant when you typed CTRL + U. If there is ambiguity, the system does unexpected things, such as not underlining YOUR &U if the system has already a Ctrl + U in its Scope. Don't know the rules, but I guess, that is where your problem lays. In effect, there are only 26 Ctrl+... shortcuts available, a bakers dozen of which (such as Ctrl + X for 'Edit.Cut') have been used by Microsoft. I take it you understand the gist of where I'm getting to. Hope this is helpful Regards,:) Bram
Bram van Kampen
-
Well, I think you are talking about a Resource Script of some type. Dealing with a Button or Menu. I must admit, my knowledge of C# is Zero. However, this happens in MFC if you try to use the same Underscore twice. ( As in &Underline in One Menu, and &Undo in another menu) The Framework does not bother to disambiguate, to make you choose between 'Underline' and 'Undo'. The idea of Shortcut Keys is 'Shortcuts', not a philosophical set of Dialogs about what you Really meant when you typed CTRL + U. If there is ambiguity, the system does unexpected things, such as not underlining YOUR &U if the system has already a Ctrl + U in its Scope. Don't know the rules, but I guess, that is where your problem lays. In effect, there are only 26 Ctrl+... shortcuts available, a bakers dozen of which (such as Ctrl + X for 'Edit.Cut') have been used by Microsoft. I take it you understand the gist of where I'm getting to. Hope this is helpful Regards,:) Bram
Bram van Kampen