Tuto WINDEV 25

Part 4: Full application with data 131 Overview We are going to create the different windows used to list, add and modify products. These operations will allow you to discover several topics regarding the management of data files and they will also allow you to use some WINDEV features. ▶ If the "WD Full Application" project was not opened in the previous lesson: 1. Display the WINDEV home page (Ctrl + <). 2.  In the home page, click "Tutorial" and select "Full application (Exercise)". Answer A corrected project is available. This project contains the different windows created in this lesson. To open the corrected project, in the home page, click "Tutorial" and select "Full application (With windows)". Creating a window used to list the products To create the window used to list the products, we are going to create a blank window then add all controls: this will allow us to present the steps required to create this type of window. Creating the window ▶ To create a window used to list the products: 1. Create a new blank window. • Click among the quick access buttons (or press Ctrl + N). • The window for creating a new element is displayed: click "Window" then "Window". • In the wizard, click the "Based on a template" tab and choose "Use: WINTPL_Template". Validate. Remark The window templates A window template is used to give a standard style to the different application windows. A window template contains all graphic elements common to all application windows. A window template can also contain code. In this case, this code will also be common to all application windows. The window template named WINTPL_Template was created for this example. This template contains a logo that will be displayed in all windows: 2.  The new window is displayed in the editor. The window for saving an element is displayed.

RkJQdWJsaXNoZXIy NDQ0OA==