Spread Windows Forms 6.0 Product Documentation
Clear Method
See Also  Example Support Options
FarPoint.Win Assembly > FarPoint.Win Namespace > SuperEditBase Class : Clear Method


Glossary Item Box

Removes all of the selected contents of the edit control.

Syntax

Visual Basic (Declaration) 
Public Overridable Sub Clear() 
Visual Basic (Usage)Copy Code
Dim instance As SuperEditBase
 
instance.Clear()
C# 
public virtual void Clear()

Remarks

To remove the entire contents of the control, select the contents and then use the Clear method, or use the ClearAll method.

This method will not have an effect if you select the entire contents and call the method and the control's AllowNull property is set to false.

Example

C#Copy Code
control.Clear();
Visual BasicCopy Code
control.Clear()

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

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.