Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.6b

Application v 6.0c

  

 

Chapter EighteenDataView Integration (continued)

on_button_pressed

Overview

The on_button_pressed event handler is called when the user positively clicks on a cell designated as a push button.

Syntax/Parameters

Syntax

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

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.

Return Value

Returns an int. The return value is presently not examined by the application.

Remarks

The on_button_pressed event allows a script to process button press for a cell designated as a push button with the type DS_CF_DISPLAY_PUSHBUTTON.

The event is triggered only after the button as been released. If the user clicks and drags away, the message is not sent (similar to dialog buttons).

Related Events

Page revised 2025-04-28