Element: panel_window.undo ( )

Type

numeric func

Description

A function to "undo" panel_window. This sets the current values of all window panels to their default panel values. It also sets the window.changed attribute and the panel.changed attribute for all panels to 0.

A value of 0 is returned when successful, and value of 1 is returned on error.

The code of the function cannot be redefined.

Parameters

window.undo (<window>)

The function may be called in one of two ways:

# Assume mywin is the panel window identifier
window.undo(mywin)

or

mywin.undo()

See Also

Structures:

panel.changed, panel.value, window.changed