Displays a vertical separator on the toolbar.
For a list of all members of this type, see Separator members.
Inheritance Hierarchy
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
DataDynamics.ActiveReports.Toolbar.Tool
DataDynamics.ActiveReports.Toolbar.Separator
Syntax
[Visual Basic]
Public Class Separator
Inherits Tool
[C#]
public class Separator : Tool
Example
[C#]
Private void arv_Load(object sender, System.EventArgs e) { DataDynamics.ActiveReports.Toolbar.Separator sep = New DataDynamics.ActiveReports.Toolbar.Separator(); System.Drawing.Size s = New Size(20,10); sep.ButtonStyle = DataDynamics.ActiveReports.Toolbar.ButtonStyle.Icon; sep.Enabled = True; sep.Id = 777; sep.Size = s; sep.ToolTip = "Do not click here."; sep.Visible = True; //insert the tool between the single & multipage icons arv.Toolbar.Tools.Insert(9, sep); rptDD rpt = New rptDD(); rpt.Run(); arv.Document = rpt.Document; } |
[Visual Basic]
Private Sub arv_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles arv.Load
Dim sep As New DataDynamics.ActiveReports.Toolbar.Separator
Dim s As New System.Drawing.Size(1000, 2000)
sep.ButtonStyle = DataDynamics.ActiveReports.Toolbar.ButtonStyle.Icon
sep.Enabled = True
sep.Id = 777
sep.Size = s
sep.ToolTip = "Do not click here."
sep.Visible = True
arv.Toolbar.Tools.Insert(9, sep)
Dim rpt As New rptDD
rpt.Run()
arv.Document = rpt.Document
End Sub |
See Also
Separator Members
| DataDynamics.ActiveReports.Toolbar Namespace
Copyright © 2004-2005 Data Dynamics, Ltd. All rights reserved.