Element: panel_window.reset ( )

Type

numeric func

Description

A function to "reset" panel_window. This sets the default values of all window panels to their current 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 a value of 1 is returned on error.

The code of the function cannot be redefined.

Parameters

window.reset (<window>)

The function may be called in one of two ways:

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

or

mywin.reset()

See Also

Structures:

panel.changed, panel.value, window.changed