Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter EighteenDataView Integration (continued)

on_form_validate

Overview

The on_form_validate event is called when the FORM_VALIDATE menu function is invoked.

Syntax/Parameters

Syntax

int on_form_validate ( ) { ... }

Parameters

(none)

 

Return Value

An int returned as a formatted error code. The error is passed back to the caller.

Remarks

The default action for Forms View is to ignore the request (returns ERROR_FUNCTION_NOT_SUPPORTED).

The hook should perform required data validation and load the a log for display as a tab in the Information View.

To enable the ribbon or menu function, the hook on_menu_init() must return the bit FV_FORM_VALIDATE.

Related Functions

Page revised 2024-12-13