Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
8th Edition
ISBN: 9781337102124
Author: Diane Zak
Publisher: Cengage Learning
Expert Solution & Answer
Book Icon
Chapter 2, Problem 18RQ

Explanation of Solution

Keyboard access to a text box:

Access key:

  • An access key is a shortcut to select the object by using “ALT” key with any letter or any number combination.
  • It can be allocated to each control in the interface that accepts the user input.
  • The underlined letter in the interface indicates the access key letter.
    • It can be assigned to an object by adding an ampersand (&) in the control’s caption.
    • First letter of the caption of an object is assigned as an access key unless other letter provides a more meaning.
  • For example:
    • If the letter “D” is used as an access key for the “Display” button, then the “Display” button can be accessed by using either ALT + D or ALT + d.
      • The access key can be assigned to the “Display” button by adding an ampersand in the text property of the “Display” button control as “&Display”.

TabIndex:

  • TabIndex is a property of the control used in an interface.
  • TabIndex property assigns the number to represent the order in which the control should be moved in the interface...

Blurred answer
Students have asked these similar questions
Explain how to provide keyboard access to a text box.
OCaml Questions: Please make sure to answer each question correctly and indicate which question you are answering. There must be no mistake in any of the answers.
What happens if your mouse pointer is on a sizing handle that is located on a bounding box's border or corner?
Knowledge Booster
Background pattern image
Recommended textbooks for you
Text book image
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning
Text book image
CMPTR
Computer Science
ISBN:9781337681872
Author:PINARD
Publisher:Cengage