Book contents
- Frontmatter
- Contents
- Preface
- 1 Fundamentals of Design and Programming – Starting from Scratch
- 2 Variables and Constants – A Place for Everything and Everything in Its Place
- 3 Writing Programs – First You Walk, Then You Run
- 4 Writing Programs II – More Controls and New Logic
- 5 Using If and Case – Decisions, Decisions, Decisions
- 6 Loops – Once Is Not Enough
- 7 Procedures and Functions – Divide and Conquer
- 8 Writing Programs III – Tying It All Together, So Far
- 9 File I/O – Files and Records and Fields, Oh My!
- 10 Arrays and Structures – Organizing Data
- 11 Events and More Controls – Tips and Tricks for Programming
- 12 Objects and Classes – Objects Are in a Class By Themselves
- 13 Graphics – The Visual (and Audio) Side of Visual Basic
- 14 LINQ to SQL – The World Runs on Databases
- 15 Crystal Reports – Tying Databases to Output
- Appendices
- Index
8 - Writing Programs III – Tying It All Together, So Far
Published online by Cambridge University Press: 05 June 2012
- Frontmatter
- Contents
- Preface
- 1 Fundamentals of Design and Programming – Starting from Scratch
- 2 Variables and Constants – A Place for Everything and Everything in Its Place
- 3 Writing Programs – First You Walk, Then You Run
- 4 Writing Programs II – More Controls and New Logic
- 5 Using If and Case – Decisions, Decisions, Decisions
- 6 Loops – Once Is Not Enough
- 7 Procedures and Functions – Divide and Conquer
- 8 Writing Programs III – Tying It All Together, So Far
- 9 File I/O – Files and Records and Fields, Oh My!
- 10 Arrays and Structures – Organizing Data
- 11 Events and More Controls – Tips and Tricks for Programming
- 12 Objects and Classes – Objects Are in a Class By Themselves
- 13 Graphics – The Visual (and Audio) Side of Visual Basic
- 14 LINQ to SQL – The World Runs on Databases
- 15 Crystal Reports – Tying Databases to Output
- Appendices
- Index
Summary
VB Quip
It claims to be fully automatic, but actually you have to push this little button here.
–Gentleman John KillianThe more work you put into your programs, the less work they'll be for the user. A developer might not like that, but a good program might be used hundreds or thousands of times by millions of users. If you make it just a little easier for every one of them every time they use it – well, you get the idea. Your programs aren't quite there yet, but the basic principles are the same. Just develop an interface with the user in mind and spend a little more time getting the details right. The interface takes care of input and output and the developer worries about the details to handle the processing that comes in between. Good programs are fun and easy to use. They allow the user to concentrate on solving a problem rather than forcing them to figure out how to use the computer.
This chapter introduces new tools. Most of them make it easier for the user and more complicated for the developer. There are also a few other odds and ends to clean up your output.
RadioButtons
RadioButtons are used to select one option from a list of several options. Click on a RadioButton to select it. A black dot appears inside the circle to indicate it's selected. Click on another RadioButton to select it and deselect the original.
- Type
- Chapter
- Information
- Programming in Visual Basic 2010The Very Beginner's Guide, pp. 258 - 314Publisher: Cambridge University PressPrint publication year: 2010