© John Kouraklis 2016

John Kouraklis, MVVM in Delphi, 10.1007/978-1-4842-2214-0_6

6. User Interaction

John Kouraklis

(1)London, UK

Views (including forms, the console, and other means of data presentation) are created to present information and data to users and to allow them to interact with the software. User interaction is an integral part of every design pattern, including MVVM. As presented in Chapter 4, the way this project implements two-way communication between the different elements of the pattern is by using the Provider-Subscriber (ProSu) framework. In this chapter, we learn how to put ProSu into action and implement user interaction.

Selecting a Customer

When the user selects a customer from the popup box, POSApp retrieves the discount ...

Get MVVM in Delphi: Architecting and Building Model View ViewModel Applications 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.