Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter NineDialog Functions (continued)

DataControlGetRowSelectState Function

Overview

The DataControlGetRowSelectState function returns the selected state of a specified row in a multiple select, row select mode data control.

Syntax/Parameters

Syntax

int = DataControlGetRowSelectState ( int id, int row );

Parameters

id

An int containing the control ID of the data control.

row

An int specifying a zero-based index to the row to test.

Return Value

An int as TRUE if the row is selected row or FALSE if the row is not selected, 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

This function is meant to be used with a data control operating in multiple select list box mode. In other modes, the function effectively tests to see whether a cell is selected within the specified row.

Related Functions

Platform Support

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

Legato IDE, Legato Basic