SyntaxColoring.TurnErrorsBlue.SetEnabled
----------------------------------------

Sets whether turning errors blue is enabled.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [SyntaxColoring](component_SyntaxColoring.md) | [15.1](newinversion151.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

MBS( "SyntaxColoring.TurnErrorsBlue.SetEnabled"; Value ) 

**MBS**( **"SyntaxColoring.TurnErrorsBlue.SetEnabled";** /\* Sets whether turning errors blue is enabled. \*/  
**$Value**) /\* The new setting. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Value | The new setting. |  |

### Result

Returns OK or error.

### Description

Sets whether turning errors blue is enabled.  
If you are color blind with red/green combinations, you may enjoy to have the debugger show an error in blue instead of red.  
Our plugin watches for FileMaker setting the field with the error message and change the color to blue.  
  
For colors in scripts. please use fmSyntaxColorizer project to define a color set for yourself to disable the colors you can't see well.  
### Examples

Enable blue colored errors:

 Set Variable \[ $r ; Value: MBS ( "SyntaxColoring.TurnErrorsBlue.SetEnabled"; 1 ) \]  
### See also

- [SyntaxColoring.ScriptGoToBox.SetEnabled](SyntaxColoringScriptGoToBoxSetEnabled.md)
- [SyntaxColoring.TurnErrorsBlue.GetEnabled](SyntaxColoringTurnErrorsBlueGetEnabled.md)

### Release notes

- **Version 15.1**
    - Added [SyntaxColoring.TurnErrorsBlue.SetEnabled](https://www.mbsplugins.eu/SyntaxColoringTurnErrorsBlueSetEnabled.shtml) and [SyntaxColoring.TurnErrorsBlue.GetEnabled](https://www.mbsplugins.eu/SyntaxColoringTurnErrorsBlueGetEnabled.shtml) functions to help colorblind people to read errors in debugger.

### Blog Entries

- [MBS FileMaker Plugin, version 15.1pr3](https://www.mbsplugins.de/archive/2025-02-12/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 9th February 2025 , last changed 9th February 2025

  
[SyntaxColoring.TurnErrorsBlue.GetEnabled](SyntaxColoringTurnErrorsBlueGetEnabled.md) - [SyntaxColoring.ZoomButton.GetEnabled](SyntaxColoringZoomButtonGetEnabled.md)

[HTML Version](SyntaxColoringTurnErrorsBlueSetEnabled.shtml)