Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter NineDialog Functions (continued)

DataControlSetRowHeight Function

Overview

The DataControlSetRowHeight function sets a row’s height in pixels.

Syntax/Parameters

Syntax

int = DataControlSetRowHeight ( int id, int row, int height );

Parameters

id

An int containing the control ID of the data control.

row

A zero-based int specifying the row.

height

An int as the height of the row in pixels.

Return Value

Returns an int as ERROR_NONE or a formatted error code on failure. Common error codes are as follows: ERROR_RANGE if id is an invalid control ID for the open dialog or ERROR_INVALID_HANDLE if no dialog is open. Use the GetLastError function to retrieve error information.

Remarks

By default, row sizes for a Data Control are set to the default row size. Setting a row height for a specific row will update that row’s size and recalculate the position of all the rows. The default height will be applied to all other rows, as a result the default height will no longer be used.

Related Functions

Platform Support

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

Legato IDE, Legato Basic