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 ...

Get Expert Delphi 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.