Kbase P76009: Widget Walker - Diagnostic tool for 4GL and ADM2 applications
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  4/28/2005 |
|
Status: Verified
GOAL:
Widget Walker - Diagnostic tool for 4GL and ADM2 applications
GOAL:
Where I can find the Widget Walker?
GOAL:
What is the Widget Viewer?
GOAL:
AttriVitoque
FIX:
The Widget Walker (also known as Widget Viewer and AttriVitoque) is a tool developed by Vito Imburgia at EMEA ETSC.
The tool has to be run after the application to analyze is run. It shows all the attributes for all the widgets of the session and it allows to change dynamically them. Applying methods and events to the widget is also possible. In this way it shows to developers what they can achieve later using 4GL.
It's really effective when it is set in the proTools.
After you run your application you select the button set in the pro*tools. The widget Walker opens showing the widget that has got the focus. You can walk from one widget to the other using the treeview and when you select the widget you can see all the Attributes values for that widget. If the attribute is settable you can change it, on the fly, by clicking the right mouse button. You will also see all the methods and events available for that widget and apply (always using the right click) one to it. All the changes will be reflected in the running application giving a good overview of what you can dynamically implement using 4GL.
You can walk through the other widgets not only by using the treeview on the button, but also by double clicking on a handle attribute for another widget: if an hande attribute points to another widget you will jump directly to that widget by double clicking.Right clicking on an row opens a pop-up menu that gives an overview of the actions possible for that attribute/method/event.
You can find the tools on PSDN code share at the address:
http://psdn.progress.com/cgi-bin/codeshare.cgi/code_share.w
HOW TO INSTALL?
Save all the content of the zip file in a directory belonging to the proPath
Add the tool in the pro*tools (this is needed only the first time you deploy the tool, not when you are upgrading it):
Right click in the pro*tools bar and choose "menu Bar"
A menu bar will be created
Select File -> Customize
Add
Label "AttriVitoque"
Program, click on Files and select AttriVitoque.p you just saved
Image, click on the void rectangle and select the Browse button
Browse until the directory you have saved in the submenu JPG and select attrivitoque.ico
Select OK, twice.
NB: Please be sure that your prox.dll is registered before running the tool otherwise you will get millions of errors 5890. In order to do this, from the proenv, write:
regsvr32.exe %DLC%\bin\prox.dll
you can do it also from the menu start -> Run but in this case you have to write instead of %DLC% the complete path of the DLC directory of your last Progress installation.