ActiveReports 8
InProgress Property
See Also  Example
GrapeCity.ActiveReports.Document.v8 Assembly > GrapeCity.ActiveReports.Document Namespace > SectionDocument Class : InProgress Property

Glossary Item Box

Determines whether the document is currently being loaded with pages.

Syntax

Visual Basic (Declaration) 
Public Property InProgress As System.Boolean
C# 
public System.bool InProgress {get; set;}

Property Value

A Boolean value. True if the document loading is currently in progress; otherwise, false.

Example

C#Copy Code
private void viewer1_Load(object sender, System.EventArgs e)
{
    if (arv.Document.InProgress)
    {
        this.progressBar1.Visible = true;
    }
    else
    {
        this.progressBar1.Visible = false;
    }
}
Visual BasicCopy Code
Private Sub viewer1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
    If arv.Document.InProgress Then
        Me.ProgressBar1.Visible = True
    Else
        Me.ProgressBar1.Visible = False
    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