ActiveReports 6 Online Help
DesignerToolStrips Enumeration
Example Example 

Enumeration of the types of tool strips to use with the designer.
Syntax
'Declaration
 
Public Enum DesignerToolStrips 
   Inherits System.Enum
public enum DesignerToolStrips : System.Enum 
Example
Private Sub Designer1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Designer1.Load
        Dim menuStrip As ToolStrip = Me.Designer1.CreateToolStrips(DataDynamics.ActiveReports.Design.DesignerToolStrips.Menu)(0)
        Dim editStrip As ToolStrip = Me.Designer1.CreateToolStrips(DataDynamics.ActiveReports.Design.DesignerToolStrips.Edit)(0)
        Dim formatStrip As ToolStrip = Me.Designer1.CreateToolStrips(DataDynamics.ActiveReports.Design.DesignerToolStrips.Format)(0)
        Dim layoutStrip As ToolStrip = Me.Designer1.CreateToolStrips(DataDynamics.ActiveReports.Design.DesignerToolStrips.Layout)(0)
        Dim reportStrip As ToolStrip = Me.Designer1.CreateToolStrips(DataDynamics.ActiveReports.Design.DesignerToolStrips.Report)(0)
        Dim undoStrip As ToolStrip = Me.Designer1.CreateToolStrips(DataDynamics.ActiveReports.Design.DesignerToolStrips.Undo)(0)
        Dim zoomStrip As ToolStrip = Me.Designer1.CreateToolStrips(DataDynamics.ActiveReports.Design.DesignerToolStrips.Zoom)(0)
        Me.ToolStripContainer1.TopToolStripPanel.Join(menuStrip, 0)
        Me.ToolStripContainer1.TopToolStripPanel.Join(editStrip, 1)
        Me.ToolStripContainer1.TopToolStripPanel.Join(formatStrip, 2)
        Me.ToolStripContainer1.TopToolStripPanel.Join(layoutStrip, 3)
        Me.ToolStripContainer1.TopToolStripPanel.Join(reportStrip, 4)
        Me.ToolStripContainer1.TopToolStripPanel.Join(undoStrip, 5)
        Me.ToolStripContainer1.TopToolStripPanel.Join(zoomStrip, 6)
    End Sub
private void designer1_Load(object sender, EventArgs e)
        {
            ToolStrip menuStrip = this.designer1.CreateToolStrips(DataDynamics.ActiveReports.Design.DesignerToolStrips.Menu)[0];
            ToolStrip editStrip = this.designer1.CreateToolStrips(DataDynamics.ActiveReports.Design.DesignerToolStrips.Edit)[0];
            ToolStrip formatStrip = this.designer1.CreateToolStrips(DataDynamics.ActiveReports.Design.DesignerToolStrips.Format)[0];
            ToolStrip layoutStrip = this.designer1.CreateToolStrips(DataDynamics.ActiveReports.Design.DesignerToolStrips.Layout)[0];
            ToolStrip reportStrip = this.designer1.CreateToolStrips(DataDynamics.ActiveReports.Design.DesignerToolStrips.Report)[0];
            ToolStrip undoStrip = this.designer1.CreateToolStrips(DataDynamics.ActiveReports.Design.DesignerToolStrips.Undo)[0];
            ToolStrip zoomStrip = this.designer1.CreateToolStrips(DataDynamics.ActiveReports.Design.DesignerToolStrips.Zoom)[0];
            this.toolStripContainer1.TopToolStripPanel.Join(menuStrip, 0);
            this.toolStripContainer1.TopToolStripPanel.Join(editStrip, 1);
            this.toolStripContainer1.TopToolStripPanel.Join(formatStrip, 2);
            this.toolStripContainer1.TopToolStripPanel.Join(layoutStrip, 3);
            this.toolStripContainer1.TopToolStripPanel.Join(reportStrip, 4);
            this.toolStripContainer1.TopToolStripPanel.Join(undoStrip, 5);
            this.toolStripContainer1.TopToolStripPanel.Join(zoomStrip, 6); 
        }
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         DataDynamics.ActiveReports.Design.DesignerToolStrips

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DataDynamics.ActiveReports.Design Namespace
CreateToolStrips Method

Send Feedback