Tuto WINDEV 25
Part 4: Full application with data 149 Test of product modification ▶ To check the modification of a product: 1. Run the project test ( among the quick access buttons). 2. WINDEV asks you to select the first project window. In our case, this window corresponds to "WIN_Menu". Select this window and validate. Remark The first project window corresponds to the first window that will be opened when starting the application. The first project window can be defined: • during the project test. • when creating the executable. • in the "Project explorer" pane: all you have to do is select the requested window, display the popup menu and select "First project window". When a first project window is defined, a small red 1 appears in front of the window name in the "Project explorer" pane. 3. The project starts in test mode and the first window is displayed. 4. Select a product from the product list (for example the first one) and click "Edit". 5. The details of the selected product are displayed in the form window. 6. Modify the price of 100.23 Dollars and enter 200.00 Dollars, then click the "Validate" button. 7. When going back to the list of products, you will notice that the price was updated for this product. 8. Display the product details again. 9. Click the "Modify" button below the image. The image picker is displayed. Select an image and validate. The image is displayed in the form. 10. Click the "Cancel" button. The image modification was ignored in the data file. 11. Click the cross to close the application.
Made with FlippingBook
RkJQdWJsaXNoZXIy NDQ0OA==