ActiveReports 9
TextBox Class
Members  Example 

Prints a formatted text value, bound or unbound.
Object Model
TextBox Class
Syntax
'Declaration
 
Public NotInheritable Class TextBox 
   Inherits ARControl
public sealed class TextBox : ARControl 
Example
private void detail_Format(object sender, System.EventArgs eArgs)
{
    this.textBox1.Alignment = TextAlignment.Center;
    this.textBox1.BackColor = System.Drawing.Color.Transparent;
    this.textBox1.CanGrow = true;
    this.textBox1.CanShrink = false;
    this.textBox1.ClassName = "Normal";
    this.textBox1.DistinctField = null;
    this.textBox1.ForeColor = System.Drawing.Color.Black;
    this.textBox1.HyperLink = "mailto:support@company.com";
    this.textBox1.MultiLine = true;
    this.textBox1.OutputFormat = null;
    this.textBox1.SummaryFunc = SummaryFunc.Sum;
    this.textBox1.SummaryGroup = null;
    this.textBox1.SummaryRunning = SummaryRunning.None;
    this.textBox1.SummaryType = SummaryType.None;
    this.textBox1.Text = "TextBox";
    this.textBox1.VerticalAlignment = VerticalTextAlignment.Top;
    this.textBox1.WrapMode = GrapeCity.ActiveReports.Document.Section.WrapMode.NoWrap;
}
Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format
   Me.TextBox1.Alignment = TextAlignment.Center
   Me.TextBox1.BackColor = System.Drawing.Color.Transparent
   Me.TextBox1.CanGrow = True
   Me.TextBox1.CanShrink = False
   Me.TextBox1.ClassName = "Normal"
   Me.TextBox1.DistinctField = Nothing
   Me.TextBox1.ForeColor = System.Drawing.Color.Black
   Me.TextBox1.HyperLink = "mailto:support@company.com"
   Me.TextBox1.MultiLine = True
   Me.TextBox1.OutputFormat = Nothing
   Me.TextBox1.SummaryFunc = SummaryFunc.Sum
   Me.TextBox1.SummaryGroup = Nothing
   Me.TextBox1.SummaryRunning = SummaryRunning.None
   Me.TextBox1.SummaryType = SummaryType.None
   Me.TextBox1.Text = "TextBox"
   Me.TextBox1.VerticalAlignment = VerticalTextAlignment.Top
   Me.TextBox1.WrapMode = GrapeCity.ActiveReports.Document.Section.WrapMode.NoWrap
End Sub
Inheritance Hierarchy

System.Object
   GrapeCity.ActiveReports.SectionReportModel.ARControl
      GrapeCity.ActiveReports.SectionReportModel.TextBox

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

TextBox Members
GrapeCity.ActiveReports.SectionReportModel Namespace

 

 


Copyright © 2014 GrapeCity, inc. All rights reserved

Support Forum