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_load event is called when a workbook or Forms View is opened.
Syntax/Parameters
Syntax
int on_load ( ) { ... }
Parameters
(none)
Return Value
Must return an int. The int can contain error information as a formatted error code.
Remarks
This event handler is called after any template data has been loaded and the window’s Mapped Text Object has been loaded (but not parsed). The handler should read the data from the Mapped Text Object and load the sheet appropriately. Since it is already open, the handler does not open the source file. Rather, using the view handle for the view, it should retrieve the Mapped Text Object and proceed to parse the data as required. It should then load the data.
If an error occurs, the event handler should report the error. An error return value will keep the window from finalizing. [should this change]
Related Functions
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.