Tuto WINDEV 25

268 Part 4: Full application with data Step 2 : Using the external component Once created, your component can be used in any other WINDEV project. Let’s now see how this component can be re-used. ▶ To do so, we are going to create a new project and import our component into this project. 1. Close the current project: on the "Home" pane, in the "General" group, expand "Close" and select "Close the project". 2. Validate the closing of project and save the modifications if necessary. 3.  The WINDEV home page is displayed. 4. Create a new project: click "Create a project" in the home page. • This project is a Windows application. • This project is named "CompUse" and it has no analysis. 5. On the "Project" pane, in the "Project" group, expand "Import" and select "An external component .. From a file". 6.  In the directory of "WD Full Application" project, select the "EXE\CompoOrdersByCity" sub- directory, then the "CompoOrdersByCity.wdi" file. Remark If the component was created from: • the "WD Full Application (Exercise)" example, select the "My Projects\ My Examples\WD Full Application (Exercise)\EXE\CompoOrdersByCity" sub-directory, then the "CompoOrdersByCity.wdi" file. • the "WD Full Application (with windows)" example, select the "My Projects\My Examples\WD Full Application (With windows) (Exercise)\ EXE\CompoOrdersByCity" sub-directory, then the "CompoOrdersByCity. wdi" file. 7. Click "Open", the description of our component is displayed. This description contains: • On the "General" tab, the elements typed when creating the external component as well as its location.

RkJQdWJsaXNoZXIy NDQ0OA==