Undo method (DataWindows)
Description
Cancels the last edit in an edit control, restoring the text
to the content before the last change.
Controls
DataWindow type |
Method applies to |
---|---|
PowerBuilder |
DataWindow control |
Web ActiveX |
DataWindow control |
Syntax
[PowerBuilder]
1 |
integer <span>editname</span>.<span>Undo</span> ( ) |
[Web ActiveX]
1 |
number <span>editname</span>.<span>Undo</span> ( ) |
Argument |
Description |
---|---|
editname |
A reference to a DataWindow control. |
Return Values
Returns 1 when it succeeds and –1 if an error occurs.
If editname is null, Undo returns
null.
Usage
To determine whether the last action can be canceled, call
the CanUndo method.

For examples and for use with other PowerBuilder controls,
see Undo in the PowerScript Reference.
See Also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest