One of the functionalities of our basic app is to provide the user with a list of orders (this could be any other kind of dataset). This is what TOrdersFrame is there for and it is tied to the Orders state of our application.
When the user selects (taps) the Orders function icon in the Home view, a call to the MainData.GoToOrders method is performed, the app state changes to Orders, and a TAppStateChanged message is delivered to the message dispatcher. MainForm will handle the message, trying to have a TOrdersFrame instance inside a FrameStand presented to the user, as shown in the following screenshot:
TOrdersFrame is essentially composed of a TToolbar and a TListView component. The toolbar will be at the top of the frame and will host a button to go back to the Home view (please note this is done by asking the MainData data module to update the application state and not by simply closing the view). The...