Spread Windows Forms 7.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 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.