Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
SyntaxColoring.GetScriptHighlightColor
Queries the current highlight color.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
SyntaxColoring | 5.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
MBS( "SyntaxColoring.GetScriptHighlightColor" { ; ReturnAsNumbers } ) More
Parameters
Parameter | Description | Example | Flags |
---|---|---|---|
ReturnAsNumbers | Available in MBS FileMaker Plugin 8.3 or newer. Pass 1 to return color as list of red, green and blue, e.g. "123¶234¶56" Pass 0 (default) for return as hex value, e.g. "7788FF". |
0 | Optional |
Result
Returns color or error.
Description
Queries the current highlight color.Examples
Query color:
MBS("SyntaxColoring.GetScriptHighlightColor")
See also
- SyntaxColoring.GetScriptIfColor
- SyntaxColoring.GetScriptLoopColor
- SyntaxColoring.GetScriptSearchColor
- SyntaxColoring.SetScriptHighlightColor
- SyntaxColoring.SetScriptSearchColor
Release notes
- Version 10.5
- Fixed SyntaxColoring.GetScriptHighlightColor to return empty result if no color was set.
- Version 8.3
Blog Entries
- MBS FileMaker Plugin, version 10.5pr1
- MBS FileMaker Plugin, version 8.3pr2
- MBS FileMaker Plugin, version 5.4pr1
This function is free to use.
Created 9th October 2015, last changed 13th June 2018
SyntaxColoring.GetRememberColumnWidths - SyntaxColoring.GetScriptIfColor