CanUndo

Description

Tests whether Undo can reverse the most recent edit in the editable control over the current row and column.

Syntax

PowerBuilder

boolean dwcontrol.CanUndo ( )

Argument

Description

dwcontrol

A reference to a DataWindow control

Returns

Returns TRUE if the last edit can be reversed (undone) using the Undo method and FALSE if the last edit cannot be reversed.

If dwcontrol is NULL, the method returns NULL.