The Unused Objects report is run from the Reports dropdown toolbar or the menu under Actions\Run Reports. This report will determine what objects in the selected libraries are not used.

First select which libraries to check from the library list and which object types from the type lists. Then click on the Start button.
The report is built in two stages. First it checks every object in the application for direct references to objects in the selected libraries.
When stage one is done, it will tell you how many unused objects were found and asks whether it should search the source code for indirect references.
If you click Yes, stage two will start. In this stage it searches the source code of every object for the name of the unused objects from stage one. This will find any datawindows that are used only through script assignment.
Actions:
Sort Data (Alt+S): Opens the Specify Sort window.
Create Library: Create a new PowerBuilder library file.
Select All (Ctrl+A): Select all objects if you plan on doing a Move or Delete.
Move Object: Move the selected objects to a different library.
Delete Object: Delete the selected objects.
Edit Source: Edit the object source in the external editor.
ToDo List (Ctrl+L): Adds the object to the ToDo List.