SyntaxColoring.SetUseBoldFont
-----------------------------

Sets whether to use bold fonts.

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

### Deprecated

This function was [deprecated](deprecated.md).

MBS( "SyntaxColoring.SetUseBoldFont"; Value ) 

**MBS**( **"SyntaxColoring.SetUseBoldFont";** /\* Sets whether to use bold fonts. \*/  
**$Value**) /\* The new setting. Pass 1 to use bold or 0 to keep normal font.e.g. 1 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Value | The new setting. Pass 1 to use bold or 0 to keep normal font. | 1 |

### Result

Returns OK or error.

### Description

Sets whether to use bold fonts.  
The MBS Plugin uses bold font for brackets in syntax coloring, so you see it better.  
You can disable that as some people have problems with brackets being invisible due to font problems.  
This may happen more often on asian character sets like Japanese where OS X uses different fonts.  
### Examples

Disable bold font:

 MBS ( "SyntaxColoring.SetUseBoldFont"; 0 )  
Enable bold font:

 MBS ( "SyntaxColoring.SetUseBoldFont"; 1 )  
### See also

- [SyntaxColoring.GetUseBoldFont](SyntaxColoringGetUseBoldFont.md)

### Blog Entries

- [MBS FileMaker Plugin, version 6.1pr1](https://www.mbsplugins.de/archive/2016-02-02/MBS_FileMaker_Plugin_version_6/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 29th January 2016 , last changed 7th October 2024

  
[SyntaxColoring.SetShowValueListIDs](SyntaxColoringSetShowValueListIDs.md) - [SyntaxColoring.ShowBracketPositions.GetEnabled](SyntaxColoringShowBracketPositionsGetEnabled.md)

[HTML Version](SyntaxColoringSetUseBoldFont.shtml)