ActiveReports 6 Online Help
Clear Method (ControlCollection)
Example 

Removes all controls which were added to the collection using the Add method.
Syntax
'Declaration
 
Public Shadows Sub Clear() 
public new void Clear()
Remarks
To remove individual controls from the collection, use the Remove method.
Example
private void rptDataDynamics_ReportStart(object sender, System.EventArgs eArgs)
{
    this.Sections[0].Controls.Clear();
}
Private Sub rptDD_ReportStart(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.ReportStart
    Me.Sections(0).Controls.Clear()
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

ControlCollection Class
ControlCollection Members

Send Feedback