Cancels the last edit in an edit control, restoring the text to the content before the last change.
integer editname.Undo ( )
Argument |
Description |
---|---|
editname |
A reference to a DataWindow control. Reverses the last edit in the edit control over the current row and column. |
Returns 1 when it succeeds and -1 if an error occurs. If editname is NULL, Undo returns NULL.
To determine whether the last action can be canceled, call the CanUndo method.
Using with other controls
For examples and for use with other PocketBuilder controls,
see Undo in the PowerScript Reference.
Copyright © 2004. Sybase Inc. All rights reserved. |
![]() |