ActiveReports3 Request technical support
TextBox Class
See Also  Members   Example 


Prints a formatted text value, bound or unbound.

Object Model


Syntax

Visual Basic (Declaration) 
Public NotInheritable Class TextBox 
   Inherits ARControl
Visual Basic (Usage)Copy Code
Dim instance As TextBox
C# 
public sealed class TextBox : ARControl 

Example

C#Copy Code
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.WordWrap = true;
}
Visual BasicCopy Code
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.WordWrap = True
End Sub

Inheritance Hierarchy

System.Object
   DataDynamics.ActiveReports.ARControl
      DataDynamics.ActiveReports.TextBox

See Also