Consultor Eletrônico



Kbase P102428: How to add new objects to the AppBuilder New Object Dialog List?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   3/28/2005
Status: Unverified

GOAL:

How to add new objects to the AppBuilder New Object Dialog List?

FACT(s) (Environment):

Windows

FIX:

To add new items to the AppBuilder New Object Dialog List:
1. Edit DLC\src\Template\Progress.cst to add an entry for the new object to be added.
2. Create and save the template for the new custom Window or custom Dialog object in the DLC\src\Template directory.

The following walkthrough demonstrates adding a new container object to the AppBuilder New Object Dialog List:
1. Backup the DLC\src\Template\Progress.cst file.
2. Edit the DLC\src\Template\Progress.cst file to insert the following two lines describing the new object:
*NEW-CONTAINER &MyWindow
NEW-TEMPLATE src/template/MyWindow.w
3. Using the AppBuilder create a new window, customize it and save it as DLC\src\Template\MyWindow.w.
4. Close the AppBuilder to end the session that started using the old Progress.cst
5. Open the AppBuilder again.
6. Select File -> New
7. Observe that the new item "MyWindow" appears in the New Object Dialog List.