Visual Basic 6 Programming:
Business Applications with a Design Perspective
Table of Contents
Chapter 10 Special Topics in Data Entry
- 10.1 Principles of GUI Design
- Simplicity and Clarity
- Flexibility
- Consistency
- Immediate Feedback
- Forgiveness
- Pleasant Appearance
- 10.2 Designing a User Friendly Keyboard
- Handling the Enter Key
- Auto Tabbing
- Arrow Keys Up and Down
- Providing Access Keys
- Using the SSTab Control
- 10.3 Additional Considerations
- Detecting Unsaved Data
- Handling Unsaved Data When the Program is Quitting
- 10.4 Checking for Data Entry errors
- When the User Presses a Key
- When the User Has Done with the Field
- When the User Is Ready to Proceed
- 10.5 Handling Errors
- A User's Nightmare
- The On Error Statement
- The Line Label Statement
- The Err Object
- How the Error Handler Works
- 10.6 Providing Visual Clues
- Listing Prime Numbers: an Illustrative Example
- The Prime Number Computing Algorithm
- The Mouse Pointer
- Messages for Progress Status
- The Progress Bar
- Summary
- Visual Basic Explorers
- Exercises
- Projects