Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

SyntaxColoring.ScriptSearchBox.SetEnabled

Enables or disables script search box.

Component Version macOS Windows Linux Server iOS SDK
SyntaxColoring 5.4 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "SyntaxColoring.ScriptSearchBox.SetEnabled"; Value )   More

Parameters

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

Result

Returns OK or error.

Description

Enables or disables script search box.
MBS Plugin offers to add a search box on macOS to the script editor and this function sets the preferences on whether it's added or not.
This setting can be set via the preferences dialog, too.

Examples

Disables search box:

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

Enables search box:

MBS("SyntaxColoring.ScriptSearchBox.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.RelationshipGraphSearchBox.SetEnabled"; 1)
MBS( "SyntaxColoring.CheckVariableDeclaration.Enable" )
MBS( "SyntaxColoring.LineNumbers.Enable" )
MBS( "SyntaxColoring.SetScriptHighlightColor"; "#CCCCFF" )

See also

This function is free to use.

Created 10th October 2015, last changed 12nd September 2020


SyntaxColoring.ScriptSearchBox.GetText - SyntaxColoring.ScriptSearchBox.SetRegEx

💬 Ask a question or report a problem