PowerBuilder – Window Object information service
Here is an easy to implement service geared towards developers who are working on complex, many layered applications. In its basic form it shows the current window object, which pbl it is located in, all the various ancestors of the window, their pbl locations, all datawindows and datawindow objects on the window, and the sql statements for those datawindow objects.
The only dependency in the window is the pfc resize service. This can easily be stripped out if needed.
To implement the service, add the following to the window/ancestor window event (rbuttondown for example):
openwithparm(w_window_info,THIS)
The screenshot is an example output.
Download the exports of the window and datawindow object from here.
You might also be interested in