Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.1   7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4    Statistic  

SyntaxColoring.ScriptGoToBox.SetEnabled

Enables or disables script go to box.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
SyntaxColoring 5.4 Yes No No No No

MBS( "SyntaxColoring.ScriptGoToBox.SetEnabled"; Value )

Parameters

Parameter Description Example value
Value The new setting. Pass 1 to show button or 0 to disable. 1

Result

Returns OK or error.

Description

Enables or disables script go to box.
MBS Plugin offers to add a go to box on Mac OS X to the script editor and this function sets the preferences on whether it's added or not.
Does not work if Syntax Highlighting is off.

Examples

Disables go to box:

MBS("SyntaxColoring.ScriptGoToBox.SetEnabled"; 0)

Enables the go to box:

MBS("SyntaxColoring.ScriptGoToBox.SetEnabled"; 1)

Enable all the plugin enhancements for FileMaker:

MBS("SyntaxColoring.CopyButton.SetEnabled"; 1)
MBS("SyntaxColoring.ScriptSearchBox.SetEnabled"; 1)
MBS("SyntaxColoring.ScriptGoToBox.SetEnabled"; 1)
MBS("SyntaxColoring.RelationGraphSearchBox.SetEnabled"; 1)
MBS( "SyntaxColoring.CheckVariableDeclaration.Enable" )
MBS( "SyntaxColoring.LineNumbers.Enable" )
MBS( "SyntaxColoring.SetScriptHighlightColor"; "#CCCCFF" )

See also

Created 10th October 2015, last changed 11st October 2015


SyntaxColoring.ScriptGoToBox.GetEnabled   -   SyntaxColoring.ScriptIfLoopHighlight.GetEnabled

Feedback: Report problem or ask question.




Links
MBS FileMaker blog