Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter NineDialog Functions (continued)

DataControlSetRowSelection Function

Overview

The DataControlSetRowSelection function sets the select position for a data control setup in single row select mode.

Syntax/Parameters

Syntax

int = DataControlSetRowSelection ( int id, [int index] );

Parameters

id

An int containing the control ID of the data control.

index

An optional int specifying the zero-based row to select. If omitted or -1, the selection is reset.

Return Value

Returns an int as the select index or -1 on failure. Note that if the selection is reset, the return value will be -1. The return value mimics the Windows list box common control. 

Remarks

The DataControlSetRowSelection is meant to select a row for Data Controls running in row select mode with simple single select option.

Related Functions

Platform Support

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

Legato IDE, Legato Basic