ActiveReports 6 Online Help
PlaceHolder Class
Members  Example 

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

Object Model
PlaceHolder Class
Syntax
'Declaration
 
Public Class PlaceHolder 
   Inherits Tool
public class PlaceHolder : Tool 
Example
private void arv_Load(object sender, System.EventArgs e)
{
    DataDynamics.ActiveReports.Toolbar.PlaceHolder ph = new DataDynamics.ActiveReports.Toolbar.PlaceHolder();
    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;
}
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.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
Inheritance Hierarchy

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

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

PlaceHolder Members
DataDynamics.ActiveReports.Toolbar Namespace

Send Feedback