Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.6b

Application v 6.0c

  

 

Chapter EighteenDataView Integration (continued)

DataViewRefreshView Function

Overview

The DataViewRefreshView function increases the edit unsaved change count for a window and updated the ribbon and tabs.

Syntax/Parameters

Syntax

int = DataViewRefreshView ( handle hView, [dword flags] );

Parameters

hView

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

flags

An optional dword specifying flags for the refresh process. The default is DV_REFRESH_NO_RECALC (TRUE 0x00000001) which will force a repaint.

Return Value

Returns an int as ERROR_NONE or a formatted error code on failure. Use the GetLastError function to retrieve error information.

Remarks

When operating outside of a Data View Object (as a view handle), this function forces all the paint positions and calculated values to be recomputed.

The flags parameters can be as follows:

DV_REFRESH_REPAINT     0x00000001    Refresh Repaint when Done

DV_REFRESH_NO_RECALC   0x00000002    Marks as Dirty, No Calculation

Related Functions

Platform Support

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

Page revised 2025-04-28