TypeOf  Update

Chapter 9: Methods for the DataWindow Control

Undo

Description

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

Syntax

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

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.

NoteUsing with other controls For examples and for use with other PocketBuilder controls, see Undo in the PowerScript Reference.

See also





Copyright © 2004. Sybase Inc. All rights reserved. Update

View this book as PDF