Glossary Item Box

Walkthrough: Adding Code for the ActiveReports Toolbox | Samples | Walkthroughs

See Also ActiveReports for .NET 2 Online Help Send feedback to Data Dynamics

Walkthrough: Configuring the ActiveReports Toolbox

This walkthrough illustrates how to set up the ActiveReports Toolbox to add to the basic layout of your end-user report designer. This walkthrough builds on the walkthrough "Creating the Basic Layout for an end-user report designer."

This walkthrough is split up into the following activities:

When you have completed this walkthrough, your layout for end-user report designer will look similar to the following.

Adding buttons to the Toolbox collection

To add buttons to the Toolbox collection

  1. Click on tlbARToolbox to select it.
  2. Click on the ellipsis for the Buttons (collection) property.
  3. Add twelve buttons to the collection and click OK.

Adding an ImageList to add icons

To add an ImageList

  1. Click at the top of frmDesigner to select it.
  2. Click on the ImageList control in the toolbox and drag it onto the form.
  3. Change the name of ImageList to ImgToolbox.
  4. Set the ImageList property for tlbARToolbox to ImgToolbox.

Adding the icon images to the ImageList

To add the icon images

  1. Click on ImgToolbox at the bottom of frmDesigner to select it.
  2. Click on the ellipsis for the Images (collection) property.
  3. Add the following icons to the ImgToolbox:

  4. Click OK to continue.

Setting properties for the buttons in the Toolbox collection

To set properties for the buttons

  1. Click on tlbARToolbox to select it.
  2. Click on the ellipsis for the Buttons (collection) property.
  3. For each button in the collection, make the following property changes and add the appropriate icons to the ImageIndex.
    Button # Tag Name Text ToolTipText
    toolBarButton1 Pointer tbbPointer Pointer Pointer
    toolBarButton2 Label tbbLabel Label Label
    toolBarButton3 TextBox tbbTextBox TextBox TextBox
    toolBarButton4 CheckBox tbbCheckBox CheckBox CheckBox
    toolBarButton5 Picture tbbPicture Picture Picture
    toolBarButton6 Shape tbbShape Shape Shape
    toolBarButton7 Line tbbLine Line Line
    toolBarButton8 RichText tbbRichTextBox RichTextBox RichTextBox
    toolBarButton9 Subreport tbbSubreport Subreport Subreport
    toolBarButton10 PageBreak tbbPageBreak PageBreak PageBreak
    toolBarButton11 Barcode tbbBarcode Barcode Barcode
    toolBarButton12 Chart tbbChart Chart Chart
  4. Click OK to continue.
  5. Set the Appearance property for tlbARToolbox to Flat.
  6. Change the TextAlign property for tlbARToolbox to Right.
  7. Resize Panel2 to fit one button on each line.

Walkthrough: Adding Code for the ActiveReports Toolbox | Samples | Walkthroughs

 

 


Copyright © 2004-2005 Data Dynamics, Ltd. All rights reserved.