Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter EighteenDataView Integration (continued)

on_cell_changing

Overview

The on_cell_changing event handler is called when the user edited a cell and the content is about to be saved.

Syntax/Parameters

Syntax

int on_cell_changing ( int row, int column, string name, string data ) { ... }

Parameters

row

An int that specifies the row of the cell clicked on.

column

An int that specifies the column of the cell clicked on.

name

A string containing the cell name, if any. The encoding is UTF-8.

data

A string containing the data to replace the cell with. The encoding is UTF-8.

Return Value

Return an int to accept or reject the content.

Remarks

This event allows for the notification of a change in an edit field. Return ERROR_CANCEL to stop the edit from proceeding. Note: This function is not called on an auto control, such as combobox change.

Related Events

Related Functions

Page revised 2024-10-21