Displays a vertical separator on the toolbar.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Class Separator
Inherits Tool |
| C# | |
|---|
public class Separator : Tool |
Example
| C# | Copy Code |
|---|
private void arv_Load(object
sender, System.EventArgs e)
{
DataDynamics.ActiveReports.Toolbar.Separator sep = new DataDynamics.ActiveReports.Toolbar.Separator();
sep.Enabled = true;
sep.Id = 777;
sep.ToolTip = "Do not click here.";
//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 | Copy Code |
|---|
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
sep.Enabled = True
sep.Id = 777
sep.ToolTip = "Do not click here."
arv.Toolbar.Tools.Insert(9, sep)
Dim rpt As New rptDD
rpt.Run()
arv.Document = rpt.Document
End Sub |
Inheritance Hierarchy
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
See Also