O'Reilly logo

Visual Basic Design Patterns: VB 6.0 and VB.NET by James W. Cooper

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. Building Your Own VB Control

One of the great strengths of VB is its powerful visual builder (IDE) environment. It is easy to build complex and sophisticated user interfaces by just dragging a few components onto a form and writing a little code to control their interactions. However, if no control does exactly what you want, it appears at first to be quite difficult (or impossible) to create a new control with these new properties. In this chapter we carry the idea of OO programming a little further by showing how easy it is to derive a new ActiveX control from the existing ones in VB6. We'll show you how to do this in VB.NET in Chapter 7.

A Highlighted Text Field

Suppose we would like to build a text entry field that always highlights ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required