Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter EighteenDataView Integration (continued)

on_update_position

Overview

The on_update_position event is called anytime the select or caret changes.

Syntax/Parameters

Syntax

int on_update_position ( int row, int column, int size ) { ... }

Parameters

row

An int that specifies the row of the caret position.

column

An int that specifies the column of the caret position.

size

An int that specifies the number of selected cells.

Return Value

An int containing a formatted error code. The normal return value is ERROR_NONE (0). ERROR_EXIT (0x89000000) can be returned to keep the Control Window from being updated.

Remarks

This event gives the script an opportunity to update the data bar and/or Control Window. The even is called each time the caret or select changes or if the ribbon or frame is updated.

Related Events and Functions