VISUAL BASIC

VISUAL PROGRAMMING

VISUAL BASIC

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which symbol creates an access(hot) key in the text of a menu item?
A
&
B
@
C
$
D
#
Explanation: 

Detailed explanation-1: -In the Properties window of Visual Studio, set the Text property to a string that includes an ampersand (&) before the letter that will be the access key. For example, to set the letter “P” as the access key, enter &Print.

Detailed explanation-2: -To assign an access key to a control with a label Set the label’s UseMnemonic property to true . Use an ampersand (&) in the label’s Text property to assign the access key for the label.

Detailed explanation-3: -To create an access key for a control with this procedure, the control must be capable of receiving the focus, it must have a Text property, and it must have a UseMnemonic property.

There is 1 question to complete.