Consultor Eletrônico



Kbase 17472: Steps to create a special label in Actuate Dev Workbench.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/05/1998
Steps to create a special label in Actuate Dev Workbench.

The problem that you are experiencing is that you wish to create a
customized label in the Actuate Developer's Workbench.

the reasons that you may want to do this vary, but for this example,
let's say that you wish to have a label with a special font. You
will be using this special font label so frequently, that you don't
want to have to keep modifying them, one by one, report by report.

But, since you cannot overrride the default AFC class library that
contains Actuate's default specifications (including label font),
you must create a specialized object in a new library.

These are the steps for creating that special label.

1. Create a report design that includes the specially
formatted label.
2. Choose File -> New Library to create a new Library.
3. Give the library the name customclass.rol.
4. Drag the label into the Library.
5. Choose the Publish Component option in the Component Drop
dialog box.
6. Choose OK.
7. Save the Library.
8. Include this Library in your report design by choosing File ->
Include Module and picking the customclass.rol from there.
9. Open the Drawing and Graphics palette.
10. Right mouse click on the palette and choose Change Classes.
11. In the Palette Button Identification field, drop down the
combo box and choose the label.
12. Under Full Class Name, Choose the ' ... ' button and select
the MyLabelControl from the Global Classes Dialog box and
choose OK.
13. Choose the OK button to close the Options Dialog box.
14. Click on the Label icon on the palette.
15. In your report design hold down left mouse and draw the
labels area.

OR

10. Right mouse click on the palette and choose Customize Button
Layout.
11. In the Toolbar Buttons column, select the Separator below
the default label control.
12. From the Available buttons column, select custom_class3 and
choose the Add button.
13. Choose close to close the Customize Toolbar dialog box.
14. Right mouse click on the palette and choose Change Classes.
15. In the Palette Button Identification field, drop down
the combo box and choose the custom_class3.
16. Under Full Class Name, Choose the '...' button and select
the MyLabelControl from the Global Classes Dialog box and choose
OK.
17. Choose the OK button to close the Options Dialog box.
18. Click on the Label icon on the palette.
19. In your report design hold down left mouse and draw the labels
area.

When you are finished, your customized label (or whatever) will be
available on the palette of your choice.

12/09/97 FS

Progress Software Technical Support Note # 17472