Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter NineDialog Functions (continued)

DataControlSetDefaultRowHeight Function

Overview

The DataControlSetDefaultRowHeight function sets the default row height.

Syntax/Parameters

Syntax

int = DataControlSetDefaultRowHeight ( int id, int size );

Parameters

id

An int containing the control ID of the data control.

size

An int specifying the row height in pixels. The value must be greater than 2 and smaller than 400.

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

If a row array has been defined (by setting row data or other row properties), this function will be ignored. Otherwise, it sets the default height for all rows.

The built in default row height is 16 pixels.

Related Functions

DataControlGetDefaultRowHeight

DataControlSetRowHeight

Platform Support

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

Legato IDE, Legato Basic