ActiveReports 8
IndexOf Method (SectionCollection)
Example 

Determines the specific index of the specified section in the collection.

Overload List
OverloadDescription
IndexOf

Determines the specific index of the specified section in the collection.

 
Example
private void rpt_ReportEnd(object sender, System.EventArgs eArgs)
{
    System.Windows.Forms.MessageBox.Show(this.Sections.IndexOf(this.Sections["detail"]).ToString());
}
Private Sub rpt_ReportEnd(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.ReportEnd
    MsgBox(Me.Sections.IndexOf(Me.Sections("Detail1")).ToString)
End Sub
See Also

Reference

SectionCollection Class
SectionCollection Members

Support Forum