ActiveReports 9
Visible Property (ARControl)
Example 

Sets or returns a value indicating whether the control will be printed.
Syntax
'Declaration
 
Public Property Visible As System.Boolean
public System.bool Visible {get; set;}

Property Value

A Boolean value.  Default is True.
Example
private void detail_Format(object sender, System.EventArgs eArgs)
{
    if (this.textBox2.Value.ToString() == "ALFKI")
    {
        this.textBox2.Visible = false;
    }
    else
    {
        this.textBox2.Visible = true;
    }
}
Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format
    If Me.TextBox1.Value = "ALFKI" Then
        Me.TextBox1.Visible = False
    Else
        Me.TextBox1.Visible = True
    End If
End Sub
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

ARControl Class
ARControl Members

 

 


Copyright © 2014 GrapeCity, inc. All rights reserved

Support Forum