Kbase 18964: How to Get enable_ui Back in 9.0 if Deleted
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  7/12/1999 |
|
SUMMARY:
If the enable_ui procedure is deleted in version 9 Appbuilder, these steps will allow you to create an AB-maintainted enable_ui.
SOLUTION:
1) Open the .w in the Appbuilder and use the Section Editor to create
an enable_ui procedure if there is not one created already.
It's OK that it is not a maintained procedure.
2) Save the changes and close the file.
3) Access a Procedure Window from the AppBuilder --
Tools > New Procedure Window.
4) Open the .w in the Procedure Window.
5) Find where the enable_ui procedure is defined.
6) Change the following line:
&ANALYZE-SUSPEND _UIB-CODE-BLOCK _PROCEDURE enable_ui C-Win
to this (just adding the _DEFAULT-ENABLE token):
&ANALYZE-SUSPEND _UIB-CODE-BLOCK _PROCEDURE enable_ui C-Win
_DEFAULT-ENABLE
NOTE: 'C-Win' string may differ between users.
7) Save the changes and close the file and the Procedure Window.
8) Open the .w in the AppBuilder and access the Section Editor.
9) Change to the Procedures section and display the enable_ui
procedure. It should once again be AB-maintained with all
appropriate code.
You can follow the same steps to recreate the disable_ui procedure,
except in Step 6, you add the _DEFAULT-DISABLE token.