Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Sets the highlight color.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
SyntaxColoring | 5.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
Parameter | Description | Example |
---|---|---|
Color | The color value. Can be one of a few english color names or "#123456" notation like in html. | "red" |
Returns OK or error.
Set to red with hex color:
MBS("SyntaxColoring.SetScriptHighlightColor"; "#FF0000")
Set to dark blue:
MBS("SyntaxColoring.SetScriptHighlightColor"; "blue")
Set to red:
MBS( "SyntaxColoring.SetScriptHighlightColor"; "#FF8888" )
Set to blue:
MBS( "SyntaxColoring.SetScriptHighlightColor"; "#CCCCFF" )
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" )
Turn it off:
MBS( "SyntaxColoring.SetScriptHighlightColor"; "" )
This function is free to use.
Created 9th October 2015, last changed 16th November 2023
SyntaxColoring.SetRememberColumnWidths - SyntaxColoring.SetScriptIfColor