Tuto WINDEV 25
Part 6: Optimizing and debuging a project 371 Orphan element The audit indicates that our project contains an orphan element. As for the procedures run, you may create windows or reports in order to run a quick test, save them and forget everything about them. The presence of orphan elements in the executable unnecessarily consumes the resources distributed to the end users. ▶ To fix this problem: 1. Click the [...] button to get more details. The window that lists the orphan elements is displayed. 2. The "WIN_UnusedWindow" window is never called. The window that lists the orphan elements is used to: • specify that the element is still used ("Flag as useful"). In this case, the window will not be taken into account anymore during the audit. This option can be interesting when using a test window specific to the development for example. • delete the element if it is actually unused ("Delete"). • see the element ("View"). • find the use cases in the strings for example ("Search"). 3. In our case, this "WIN_UnusedWindow" window is actually unused, click "Delete". 4. Close the window of orphan elements (click the cross in the top right corner). ▶ In the window of static audit, click the "Refresh" button to update the audit report.
Made with FlippingBook
RkJQdWJsaXNoZXIy NDQ0OA==