ActiveReports3 Request technical support
Text Property
See Also  Example


Gets or sets the current text in the RichTextBox.

Syntax

Visual Basic (Declaration) 
Public Property Text As String
Visual Basic (Usage)Copy Code
Dim instance As RichTextBox
Dim value As String
 
instance.Text = value
 
value = instance.Text
C# 
public string Text {get; set;}

Return Value

The text displayed in the control.

Example

C#Copy Code
private void detail_Format(object sender, System.EventArgs eArgs)
{
   
this.rtbActiveReport.Text = "Confidential";
}
Visual BasicCopy Code
Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format
    Me.rtbActiveReport.Text = "Confidential"
End Sub

See Also