O'Reilly logo

Delphi for .NET Developer’s Guide by Xavier Pacheco

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

Component Building Basics

The following sections teach you the basic skills required to get you started in writing components. Then, we show you how to apply those skills by demonstrating how we designed some useful components.

When to Write a Component

Why go through the trouble of writing a custom control in the first place when it’s probably less work to make do with an existing component or hack together something quick and dirty that “will do”? There are a number of reasons to write your own custom control:

  • You want to design a new user-interface element that can be used in more than one application.

  • You want to make your application more robust by separating its elements into logical object-oriented classes.

  • You cannot find an existing .NET ...

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