PowerTools ActiveReports for .NET 9.0J
Visible プロパティ (ARControl)
使用例 

コントロールを印刷するかどうかを決定します。
構文
'宣言
 
Public Property Visible As Boolean
public bool Visible {get; set;}

プロパティ値

ブール型。デフォルトは True です。

使用例
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
参照

関連項目

ARControl クラス
ARControl メンバ

 

 


©2003-2015 GrapeCity inc. All rights reserved.