How it works

Open the project group Chapter08\CODE\RECIPE06\CustomAppearanceGroup.groupproj.

The group is composed of the following two projects:

  • DelphiCookbookListViewAppearance.dproj: This is a package containing the appearance class that we defined for our purpose. This package needs to be installed and its path must be in the Delphi library path for all the necessary platforms.
  • WeatherForecastCustomAppearance.dproj: The actual application. It uses the appearance class defined in the previous package and uses LiveBindings to show the weather forecasts.

Let's talk about the appearance class. Open the DelphiCookbookListViewAppearanceU.pas file contained in the package. The main class in this unit is TDelphiCookbookItemAppearance. As you ...

Get Delphi Cookbook - Third Edition 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.