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_form_add_entry event is called when the FORM_ADD_ENTRY menu function is invoked.
Syntax/Parameters
Syntax
int on_form_add_entry ( ) { ... }
Parameters
(none)
Return Value
Must return an int. The int can contain error information as a formatted error code.
Return result will be passed back to the menu function dispatcher which in turn could be passed to a calling script. At a minimum the return value will be placed in the application log as a response to a user action.
Remarks
The default action for Forms View is to ignore the request (returns ERROR_FUNCTION_NOT_SUPPORTED).
To enable the ribbon or menu function, the hook on_menu_init() must return the bit FV_FORM_ADD_ENTRY. As part of an add function, the enable logic can look at the context and whether any more items can be added.
Related Events
Page revised 2024-12-13
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.