GoFiler Legato Script Reference
Legato v 1.5d Application v 5.25a
|
Table of Contents | < < Previous | Next >> |
Chapter Eighteen — DataView Integration (continued)
Overview
The on_edit_size_request event handler is called just prior to the on-sheet cell text edit and allows the script to specify a field size limit for that specific cell.
Syntax/Parameters
Syntax
int on_edit_size_request ( int row, int column, string name ) { ... }
Parameters
row
An int that specifies the row of the cell.
column
An int that specifies the column of the cell.
name
A string containing the name of the cell. If the cell is not named, the string will be empty.
Return Value
Returns an int containing the maximum number of characters allowed in the field, if processed. Returning 0 or any formatted error code will result in the field size being ignored.
Remarks
The on_edit_size_request event will only have a display impact if the title of the cell is set and contains formatted numeric positions. See the on_edit_title_request event.
The specified size does not prevent the user from entering too much data. It will, however, warn of overflow.
Related Events
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.