Undo – PB Docs 2017

Undo

method (DataWindows)

Description

Cancels the last edit in an edit control, restoring the text to the
content before the last change.

Applies to

DataWindow type

Method applies to

PowerBuilder

DataWindow control

Syntax

PowerBuilder

Argument

Description

editname

A reference to a DataWindow control. Reverses the
last edit in the edit control over the current row and
column.

Return value

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.

PowerBuilder environment

For examples and for use with other PowerBuilder controls, see
the section called “Undo” in PowerScript Reference.

See also

CanUndo


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x