ActiveReports 6 Online Help
RemoveComponent(ARControl) Method
Example 

The control to remove.
Removes a control from the current report.
Syntax
'Declaration
 
Public Overloads Function RemoveComponent( _
   ByVal control As ARControl _
) As Boolean
public bool RemoveComponent( 
   ARControl control
)

Parameters

control
The control to remove.

Return Value

True if a control is removed successfully; otherwise, false.
Remarks

This method returns false if:

Example
Me.arDesigner.RemoveComponent(Me.arDesigner.Report.Sections(0).Controls(0))
this.arDesigner.RemoveComponent(this.arDesigner.Report.Sections[0].Controls[0]);
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

Designer Class
Designer Members
Overload List

Send Feedback