Microsoft SDK for Java

Edit.canUndo

Retrieves a boolean value indicating whether the edit control can undo the last operation.

Syntax

public final boolean canUndo()

Return Value

Returns true if the edit control can undo the last operation; otherwise, returns false.

Remarks

If this method returns true, you can call the undo method to undo the last operation.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.