Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

SyntaxColoring.ScriptIfLoopHighlight.SetEnabled

Sets whether to highlight if/loop blocks in script editor.

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

Parameters

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

Result

Returns OK or error.

Description

Sets whether to highlight if/loop blocks in script editor.
Default is enabled.
This setting can be set via the preferences dialog, too.

Supports transactions in FileMaker Pro 19.6 and newer.

Examples

Turn if/loop highlighting on:

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

Turn if/loop highlighting off:

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

See also

Blog Entries

This function is free to use.

Created 22nd November 2016, last changed 12nd June 2022


SyntaxColoring.ScriptIfLoopHighlight.GetEnabled - SyntaxColoring.ScriptSearchBox.GetEnabled