Working with Text and Fonts

To write almost any program in Visual Basic, you need to know how to work with text. In earlier chapters, you learned something about displaying text in labels and text boxes. You also learned about string functions used to manipulate text in code. This section will expand on that knowledge by showing you how to display text in a way that is most intuitive to the users of your programs.

Text Box Behavior

In Chapter 5, “Visual Basic Building Blocks,” you were introduced to the text box. You already know that the Text property is used to store and retrieve information that the user may change. In addition to the standard properties discussed in that chapter, several other properties make the TextBox control even more ...

Get Special Edition Using Microsoft® Visual Basic® .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.