GoFiler Legato Script Reference
Legato v 1.5b Application v 5.24b
|
Table of Contents | < < Previous | Next >> |
Chapter Eighteen — DataView Integration (continued)
Overview
The on_edit_row event handler is called when the user requests that the content of a row be edited. This event is tied to the DATA_EDIT_ROW menu function.
Syntax/Parameters
Syntax
int on_edit_row ( int row, int column ) { ... }
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. This column is provided for convenience in the event the handler wants to highlight or select a specific item in the script editor.
Return Value
Returns an int. The script should return anything but ERROR_CANCEL (0x82000000) to override the default behavior. If the event is not canceled, the return code is passed back to the caller (presumably the menu dispatch).
Remarks
Generally edit row allows the supporting code to present a friendlier or more in depth dialog to edit a row or a record.
The on_edit_row event allows a script to intercept and process the row edit function. It is up to the script to present any dialogs and perform functions to replace a row’s content.
The event can be canceled by returning ERROR_CANCEL.
Related Events
Page revised 2024-10-21
Table of Contents | < < Previous | Next >> |
© 2012-2024 Novaworks, LLC. All rights reserved worldwide. Unauthorized use, duplication or transmission prohibited by law. Portions of the software are protected by US Patents 10,095,672, 10,706,221 and 11,210,456. GoFiler™ and Legato™ are trademarks of Novaworks, LLC. EDGAR® is a federally registered trademark of the U.S. Securities and Exchange Commission. Novaworks is not affiliated with or approved by the U.S. Securities and Exchange Commission. All other trademarks are property of their respective owners. Use of the features specified in this language are subject to terms, conditions and limitations of the Software License Agreement.