Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter EightData Functions (continued)

DataSheetMeasureSheet Function

Overview

The DataSheetMeasureSheet function will measure all the cells in the sheet and where applicable adjust row heights.

Syntax/Parameters

Syntax

int = DataSheetMeasureSheet ( handle hSheet, [boolean recompose] );

Parameters

hSheet

A handle to a Data Sheet Object.

recompose

An optional boolean flag that specifies to treat all cells as “dirty” requiring measurement. The default value if FALSE.

Return Value

Returns an int as ERROR_NONE on success or a formatted error code on failure.

Remarks

While a Data Sheet object an abstract data manager, it does allow for composition to allow for determining the display dimensions of the data and the entire sheet.

If not already created, row and column arrays are created.

Measuring a Data Sheet attached to an existing window such as a dialog or Data View is not advisable since those interfaces will be managing display.

If this is the first time the function is called for an object, it will automatically recompose. It is up to the caller to recompose if required as changes are made to the sheet.

Related Functions

Platform Support

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

Legato IDE, Legato Basic

Page revised 2024-10-21