Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter NineDialog Functions (continued)

DataControlSetRowSelectState Function

Overview

The DataControlSetRowSelectState function sets the select state of a specific position for a data control setup in row multi-select mode.

Syntax/Parameters

Syntax

int = DataControlSetRowSelectState ( int id, int index, boolean state );

Parameters

id

An int containing the control ID of the data control.

index

An int specifying the zero-based row to change the select state.

state

A boolean value as TRUE or FALSE to select and deselect, respectively.

Return Value

Returns an int as ERROR_NONE or a formatted error code on failure.

Remarks

The DataControlSetRowSelection is meant to select a row for Data Controls running in multi-select row mode. The mode can be set during control creation using the list box LBS_MULTIPLESEL style or during dialog page load using the DataControlSetSelectMode function.

Multiple select operation mimics list box multiple select.

Related Functions

Platform Support

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

Legato IDE, Legato Basic