Chapter 6. Using Decision Structures
After completing this chapter, you will be able to:
Write conditional expressions.
Use an If … Then statement to branch to a set of program statements based on a varying condition.
Use the MaskedTextBox control to receive user input in a specific format.
Short-circuit an If … Then statement.
Use a Select Case statement to select one choice from many options in program code.
Use the Name property to rename objects within a program.
Manage mouse events and write a MouseHover event handler.
In the past few chapters, you used several features of Microsoft Visual Basic 2010 to process user input. You used menus, toolbars, dialog boxes, and other Toolbox controls to display choices for the user, and you processed input by ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access