Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter EighteenDataView Integration (continued)

DataViewUndoSetState Function

Overview

The DataViewUndoSetState function sets the operational state of the edit undo function.

Syntax/Parameters

Syntax

int = DataViewUndoSetState ( handle hView, [int state] );

Parameters

hView

A handle to either a Data View Object or to a window that employs Data View.

state

An optional int specifying the desired state or a request to determine the state. Setting to TRUE enables undo, FALSE disables the undo function.

The default is -1, which returns the state.

Return Value

Returns an int as the state as TRUE or FALSE, or a formatted error code on failure. Use the GetLastError function to retrieve error information.

Remarks

Disabling the Undo will clear all transactions. The edit action value is not reset.

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL