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


Glossary Item Box

Reverses the previous edit command.

Syntax

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

Remarks

Use this method to undo previous editing, such as typing or cutting a selection to the Clipboard.

Note: In some controls, the Undo method has no effect if the method is called after the control loses the focus. For example, if the user edits the contents of the control, then pushes a button control to undo the last edit, the Undo method might have no effect.

Example

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

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.