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


Disables Syntax coloring in FileMaker Scripts.

Component Version macOS Windows Linux Server iOS SDK
SyntaxColoring 3.0 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "SyntaxColoring.Disable" )




Returns OK on success.


Disables Syntax coloring in FileMaker Scripts.
Settings are saved in preferences files and you can use different settings in different FileMaker versions.
Works with FileMaker 11 or newer.

Syntax color can only be enabled in FileMaker Pro, not in server or runtime versions.
See also SyntaxColoring.Enable.

Disabling colors also disables line numbers and script search.


Enable or disable syntax coloring:

If (Enable)
      Set Variable [$r; MBS( "SyntaxColoring.Enable" )]
      Set Variable [$r; MBS( "SyntaxColoring.Disable" )]
end if

See also

Example Databases

Blog Entries

This function is free to use.

Created 18th August 2014, last changed 15th June 2016

SyntaxColoring.CopyButton.SetEnabled - SyntaxColoring.DontOpenManageDatabaseDialogWithRelations.GetEnabled