See Also

PlaceHolder Members  | DataDynamics.ActiveReports.Toolbar Namespace

Language

Visual Basic

C#

Show All

See Also Languages ActiveReports.Viewer Send feedback to Data Dynamics

PlaceHolder Class

Represents a place holder for Windows forms controls to be hosted on the toolbar.

For a list of all members of this type, see PlaceHolder members.

Inheritance Hierarchy

System.Object
   System.MarshalByRefObject
      System.ComponentModel.Component
         DataDynamics.ActiveReports.Toolbar.Tool
            DataDynamics.ActiveReports.Toolbar.PlaceHolder

Syntax

[Visual Basic]
Public Class PlaceHolder    Inherits Tool
[C#]
public class PlaceHolder : Tool

Example

[C#] 

private void arv_Load(object sender, System.EventArgs e) 

    DataDynamics.ActiveReports.Toolbar.PlaceHolder ph = new DataDynamics.ActiveReports.Toolbar.PlaceHolder(); 
    ph.ButtonStyle = DataDynamics.ActiveReports.Toolbar.ButtonStyle.Icon; 
    ph.Enabled = true; 
    ph.ToolTip = "Do not click here."; 
    ph.Visible = true; 
    ph.Id = 777; 
    arv.Toolbar.Tools.Insert(9, ph); 
 
    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 ph As New DataDynamics.ActiveReports.Toolbar.PlaceHolder
    ph.ButtonStyle = DataDynamics.ActiveReports.Toolbar.ButtonStyle.Icon
    ph.Enabled = True
    ph.ToolTip = "Do not click here."
    ph.Visible = True
    ph.Id = 777
    arv.Toolbar.Tools.Insert(9, ph)

    Dim rpt As New rptDD
    rpt.Run()
    arv.Document = rpt.Document
End Sub

See Also

PlaceHolder Members  | DataDynamics.ActiveReports.Toolbar Namespace

 

 


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