Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter NineDialog Functions (continued)

DataControlMergeCells Function

Overview

The DataControlMergeCells function merges two or more cells on a specified row.

Syntax/Parameters

Syntax

int = DataControlMergeCells ( int id, int row, int column, [int span] );

Parameters

id

An int containing the control ID of the data control.

row

A zero-based int specifying the row.

column

A zero-based int specifying the column.

span

An optional int specifying the number of cells to span. If omitted, the default value is 2.

Return Value

Returns an int as ERROR_NONE or a formatted error code on failure, 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

The region must exist in order to merge the data.

Related Functions

Platform Support

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

Legato IDE, Legato Basic