O'Reilly logo

Expert Delphi by Paweł Głowacki

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

Fast user interface prototyping

Live bindings are not limited to string properties. You can bind different simple and complex data types. One of the really cool components that you can use to quickly design a data-driven user interface is TPrototypeBindSource. This component can emulate a data table and generate test data for display. In this way, we can very quickly prototype graphical user interfaces.

Let's look at how we could use live bindings to quickly prototype the user interface of our To-Do List app. Reopen the ToDoList project in the IDE, right-click on the Project Manager, and select the option to add a new project to the project group. Create a separate folder for the new project and save the main form's unit as uFormToDoTest ...

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