See Also

ARControl Class  | ARControl Members

Language

Visual Basic

C#

Show All

See Also Languages ActiveReports Send feedback to Data Dynamics

Visible Property

Sets or returns a value indicating whether the control will be printed.

[Visual Basic]
Public Property Visible As Boolean
[C#]
public bool Visible {get; set;}

Return Type

A Boolean value.  Default is True.

Example

[C#] 

private void Detail_Format(object sender, System.EventArgs eArgs) 

    if (this.TextBox2.Value.ToString() == "ALFKI") 
    { 
        this.TextBox2.Visible = false; 
    } 
    else 
    { 
        this.TextBox2.Visible = true; 
    } 
}

[Visual Basic] 

Private Sub Detail_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail.Format
    If Me.TextBox1.Value = "ALFKI" Then
        Me.TextBox1.Visible = False
    Else
        Me.TextBox1.Visible = True
    End If
End Sub

See Also

ARControl Class  | ARControl Members

 

 


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