Sample Components

The remaining sections of this chapter give some real examples of component creation. The components created here serve two primary purposes. First, they illustrate the techniques explained in the first part of this chapter. Second, you can actually use these components in your applications. You might even decide to extend their functionality to meet your needs.

ExplorerViewer: A UserControl Example

As mentioned earlier, UserControls provide a means to design a component using a form-like design surface. The end result is very often a compound component, or a component that is made up of several other components into a single, atomic entity that can be used on any variety of forms.

The ExplorerViewer control is a great example ...

Get Delphi for .NET Developer’s Guide 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.