Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter NineDialog Functions (continued)

DataControlGetClickPosition Function

Overview

The DataControlGetClickPosition function returns the last cell position clicked on by row and column.

Syntax/Parameters

Syntax

int [] = DataControlGetClickPosition ( int id );

Parameters

id

An int containing the control ID of the data control.

Return Value

Returns an int array of two elements for the row and column position or an empty array on failure.

On success, the array key values are “Row” and “Col” or 0 and 1, respectively.

Remarks

The column and row position are always processed and returned even if the select mode is set to rows or columns. If the control has never been clicked on, the returned is position 0/0.

Use the DataControlGetClickData function to get the full suite of data associated with a click.

Related Functions

Platform Support

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

Legato IDE, Legato Basic