Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter EighteenDataView Integration (continued)

on_edit_title_request

Overview

The on_edit_title_request event handler is called just prior to the on-sheet cell text edit and allows the script to specify a title string for that specific cell.

Syntax/Parameters

Syntax

string on_edit_title_request ( int row, int column, string name ) { ... }

Parameters

row

An int that specifies the row of the cell to be edited.

column

An int that specifies the column of the cell to be edited.

name

A string containing the name of the cell.

Return Value

Returns a string formatted for display in the status bar. It must contain two ‘%d’ references for the current field size and the maximum field size. Return an empty string for default action.

An example:

"Enter ID field: %d characters of %d maximum."

Remarks

The on_edit_title_request event is typically used in conjunction with the on_edit_size_request event. Do not add more ‘%’ escape fields or non ‘%d’ fields than specified.

Related Events