Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter NineDialog Functions (continued)

DataControlSetRowData Function

Overview

The DataControlSetRowData function sets a row’s caller data word. The caller data word is a data that can be used by the script to track information for a specific row.

Syntax/Parameters

Syntax

int = DataControlSetRowData ( int id, int row, dword data );

Parameters

id

An int containing the control ID of the data control.

row

A zero-based int specifying the row.

data

A 32-bit dword to be placed into the row’s caller data.

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

The row caller data word can be used to store indices or other information regarding the source data or for editing purposes.

Related Functions

Platform Support

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

Legato IDE, Legato Basic