Chapter 3 Summary

Chapter 3 Summary - Chapter 3 Summary Chapter 3: Variables...

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

View Full Document Right Arrow Icon
Chapter 3 Summary Chapter 3: Variables and Calculations 3.1 Gathering Text Input Words and characters typed into a TextBox control are stored in the control's Text property. The standard prefix for TextBox control names is txt. The control that has the focus receives the user's keyboard input or mouse clicks. The focus is moved by calling the Focus method. The order in which controls receive the focus when the Tab key is pressed at runtime is called the tab order. Tab order selection mode allows you to easily view the TabIndex property values of all the controls on a form. If you do not want a control to receive the focus when the user presses the Tab key, set its TabStop property to False. 3.2 Variables and Data Types The assignment operator (=) is used to store a value in a variable, just as with a control property. A variable's data type determines the type of information that the variable can hold. Rules for naming variables are enforced by the Visual Basic compiler. Naming conventions, on the other hand, are not rigid--they are based on a standard style of programming. When a variable is first created in memory, Visual Basic assigns it an initial
Background image of page 1

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

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

Page1 / 5

Chapter 3 Summary - Chapter 3 Summary Chapter 3: Variables...

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

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