Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter NineDialog Functions (continued)

ComboBoxFindItemExact Function

Overview

The ComboBoxFindItem function analyzes every entry in the list box portion and attempts to match it exactly to the target string.

Syntax/Parameters

Syntax

int = ComboBoxFindItemExact ( int id, string data );

Parameters

id

An int containing the control ID of a combo box.

data

A string to locate within the combo box list section. The string should not contain spaces.

Return Value

Returns an int containing the index of the first item that exactly matches data or an error 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 ComboBoxFindItemExact function finds the first string in the list box portion that exactly matches the specified string. The search is case-sensitive.

Related Functions

Platform Support

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

Legato IDE, Legato Basic