O'Reilly logo

Delphi Cookbook - Second Edition by Daniele Teti

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

Using TListView to show and search local data

In many cases with mobile apps, data is read from remote servers and then stored locally to make it available even without an Internet connection. In this recipe, you'll see how to read and write to a file as well as how to show and search that data in a TListView.

Getting ready

This recipe is short and simple, but it is really useful because the concepts exposed are reusable and allow you to gain confidence with some very important best practices. The final aspect of the app is shown in the following screenshot. Note that the remove button is visible only when an item is selected:

Getting ready

The Simple to-do app; ...

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