Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter SixteenApplication (continued)

SetMenuFunctionParameters Function

Overview

The SetMenuFunctionParameters function sets the menu function parameter string which can then be used by the currently executing menu function.

Syntax/Parameters

Syntax

int = SetMenuFunctionParameters ( string parameters );

Parameters

parameters

A string containing parameters specific to the current function.

Return Value

An int value as ERROR_NONE or as a formatted error code on failure.

Remarks

During the preprocess phase of menu hook execution, it can be desirable to set function parameters for the function about to be executed. This the same as the parameters parameter on the RunMenuFunction function.

If this function is executed while not in a hook preprocess, it does nothing and will not return an error.

Related Functions:

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE