I wrote a simple program using Visual Basic from Visual Studio .NET. The simple program had three buttons, i.e. Display, Clear and Exit. As you can see, different access keys had been assigned to the buttons, i.e. ALT+D for Display button, ALT+C for Clear button, and ALT+X for Exit button. No any further code was attached to the objects. Once the 'visual' programming part of the job was completed, I executed the program by selecting 'Start' (or by pressing F5). I found that NO UNDERLINED character appeared on each button in the executed program. In other words, for example, Display instead of Display was shown on 'Display' button. However, when I press 'ALT' key (only ONE key) on the keyboard, the UNDERLINED characters were appeared. Would anyone please advise why does the ALT key in program written using Visual Studion .NET act weird/differently?
TQvM
TQvM