Answer the following statements true (T) or false (F)

1. KeyPress events do not handle modifier keys.
2. Pressing Enter to press a GUI button is not a key event; it’s set in the control’s properties.
3. The KeyData property returns a key enumeration with no information about modifier keys.
4. ASCII does not support function keys or modifier keys.
5. KeyPress events and one KeyDown event are generated when a key on the keyboard is pressed down.

1. True
2. True
3. False. The KeyData property returns a key enumeration including modifier keys such as Shift or Alt that was pressed also.
4. True.
5. True.

Computer Science & Information Technology

You might also like to view...

A company is building software on AWS that requires access to various AWS services. Which configuration should be used to ensure mat AWS credentials (i.e., Access Key ID/Secret Access Key combination) are not compromised?

A. Enable Multi-Factor Authentication for your AWS root account. B. Assign an IAM role to the Amazon EC2 instance. C. Store the AWS Access Key ID/Secret Access Key combination in software comments. D. Assign an IAM user to the Amazon EC2 Instance.

Computer Science & Information Technology

The correct order in which an exception is detected and handled is:

a. try, catch, throw b. throw, catch, try c. catch, throw, try d. try, throw, catch

Computer Science & Information Technology