Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter NineDialog Functions (continued)

DataControlGetColumnPositions Function

Overview

The DataControlGetColumnPositions function retrieves an array of column positions in pixels.

Syntax/Parameters

Syntax

dword [] = DataControlGetColumnPositions ( int id );

Parameters

id

An int containing the control ID of the Data Control.

Return Value

Returns a dword array containing the positions of the columns in the data control or empty 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

The positions are in pixels as the left edge is displayed in the control without regard to the horizontal scrollbar position. The farthest right position is not supplied.

By default, a data control will always have at least one column.

Related Functions

Platform Support

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

Legato IDE, Legato Basic