Using the Open Tools API

Now that you know what's what, it's time to get your hands dirty and look at some actual code. This section focuses primarily on writing wizards by using the Open Tools API. We won't discuss the building of version-control systems because the interest for such a topic is arguably limited. For examples of component and property editors, you should look at Chapter 11, “VCL Component Building,” and Chapter 12, “Advanced VCL Component Building.”

A Dumb Wizard

To start out, you'll create a very simple wizard appropriately dubbed the Dumb Wizard. The minimum requirement to create a wizard is to create a class that implements the IOTAWizard interface. For reference, IOTAWizard is defined in the ToolsAPI unit as follows:

 type ...

Get Borland® Delphi™ 6 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.