Lesson 3 Variables and Calculations

Lesson 3 Variables and Calculations - Chapter 3...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
Chapter 3 Fill-in-the-blank 1. TextBox 2. txt 3. String concatenation 4. Line-continuation 5. Line-continuation 6. Focus 7. Tab order 8. TabIndex 9. TabStop 10. Alt 11. Text 12. Variable 13. Variable declaration 14. Data type 15. Local 16. Type conversion or type mismatch 17. Function 18. CInt 19. "c" 20. Argument 21. Precedence 22. Named constant 23. GroupBox control 24. Load 25. Breakpoint True or False 1. True 2. True 3. False 4. True 5. False 6. True 7. False 8. True 9. False 10. True 11. True
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
12. False 13. False 14. False 15. True 16. False 17. True 18. True 19. False 20. True 21. True 22. True 23. False 24. False Multiple Choice 1. b 2. a 3. d 4. b 5. c 6. a 7. d 8. c 9. b 10. c 11. b 12. c Short Answer 1. The Label control's Text property is for displaying information only--the user cannot directly alter its contents. The TextBox control's Text property, however, is for input purposes. The user can alter it by typing characters into the text box control. Whatever the user types into the text box is stored in its Text property. 2. By calling the text box’s Clear method, such as: txtInput.Clear() You can also clear a text box by storing an empty string in it’s Text property. You do this with a statement similar to: txtInput.Text = "" 3. When an application is running and a form is displayed, one of the form's controls always has the focus. The control that has the focus is the one that receives the user's keyboard input or mouse clicks.
Background image of page 2
4. txtPassword.Focus() 5. When you create a control, Visual Basic automatically assigns a value to its TabIndex property. The first control you create on a form will have a TabIndex of 0, the second will have a TabIndex of 1, and so forth. The control with a TabIndex of 0 will be the first control in the tab order. The next control in the tab order will be the one who's TabIndex is 1. The tab order continues in this sequence. 6.
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 9

Lesson 3 Variables and Calculations - Chapter 3...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online