Tuto WINDEV 25
Part 4: Full application with data 137 Remark Several controls propose default AAFs. If these features must not be proposed (for security or confidentiality reasons), they can be disabled in the editor or by programming. See the online help for more details (keyword: "Automatic Application Features"). Now that the list of products is displayed, you may want to modify a product. To do so, we are going to create a window used to display the product details. ▶ Close the window via the cross found at the top of the screen. The WINDEV editor is redisplayed. Creating a "Product form" window Creating the window ▶ To create a window used to display the product details: 1. Open the "WD Full Application" project if necessary. 2. Create a new blank window. • Click among the quick access buttons. • The window for creating a new element is displayed: click "Window" then "Window". • The window creation wizard starts. • In the "Based on a template" tab, choose "Use: WINTPL_Template" and validate the wizard. 3. The save window is displayed. Type the window title: "Product form". The name ("WIN_ Product_form") is automatically proposed. 4. Validate the save window. Creating edit controls We are going to create a window used to display the characteristics of the product selected in the Table control. This type of window is called a "Form" because it corresponds to a descriptive form of requested element. In our case, this window will be used to display the content of the different items found in the "Product" data file. ▶ To create the controls in the window: 1. Display the "Analysis" pane if necessary: on the "Home" pane, in the "Environment" group, expand "Panes" and select "Analysis". The different data files described in the "WD Full Application" analysis appear in the pane.
Made with FlippingBook
RkJQdWJsaXNoZXIy NDQ0OA==