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:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
SyntaxColoring.SetScriptLoopColor
Sets the highlight color for if block in a script.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| SyntaxColoring | 6.1 | Yes | No | No | No | No |
MBS( "SyntaxColoring.SetScriptLoopColor"; Color ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| Color | The color value. Can be one of a few english color names or "#123456" notation like in html. | "red" |
Result
Returns OK or error.
Description
Sets the highlight color for if block in a script.Uses to highlight the script lines (loop, end loop and exif loop if) for the current loop if one of those steps is selected.
Set to nothing to use default color.
Does not work if Syntax Highlighting is off.
Examples
Set to red:
MBS( "SyntaxColoring.SetScriptLoopColor"; "#FF8888" )
See also
- SyntaxColoring.GetScriptIfColor
- SyntaxColoring.GetScriptLoopColor
- SyntaxColoring.GetScriptSearchColor
- SyntaxColoring.SetScriptHighlightColor
- SyntaxColoring.SetScriptIfColor
- SyntaxColoring.SetScriptSearchColor
Blog Entries
Created 1st February 2016, last changed 1st February 2016
SyntaxColoring.SetScriptIfColor - SyntaxColoring.SetScriptSearchColor
Feedback: Report problem or ask question.
Links
MBS FileMaker blog