Spread Windows Forms 7.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 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

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