SyntaxColoring.SetShowLayoutIDs
-------------------------------

Sets whether layout IDs are enabled.

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

MBS( "SyntaxColoring.SetShowLayoutIDs"; Value ) 

**MBS**( **"SyntaxColoring.SetShowLayoutIDs";** /\* Sets whether layout IDs are enabled. \*/  
**$Value**) /\* The new setting.e.g. 1 \*/ 

### Parameters

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

### Result

Returns OK or error.

### Description

Sets whether layout IDs are enabled.  
Pass 1 to enable or 0 to disable.  
This setting can be set via the preferences dialog, too.  
### Examples

Turn on all the IDs for macOS:

 Set Variable \[$r ; Value: MBS ( "[SyntaxColoring.SetShowValueListIDs](SyntaxColoringSetShowValueListIDs.md)"; 1 )\]  
Set Variable \[$r ; Value: MBS ( "[SyntaxColoring.SetShowScriptIDs](SyntaxColoringSetShowScriptIDs.md)"; 1 )\]  
Set Variable \[$r ; Value: MBS ( "SyntaxColoring.SetShowLayoutIDs"; 1 )\]  
Set Variable \[$r ; Value: MBS ( "[SyntaxColoring.SetShowFieldAndTableIDs](SyntaxColoringSetShowFieldAndTableIDs.md)"; 1 )\]  
### See also

- [SyntaxColoring.GetShowLayoutIDs](SyntaxColoringGetShowLayoutIDs.md)
- [SyntaxColoring.GetShowScriptIDs](SyntaxColoringGetShowScriptIDs.md)
- [SyntaxColoring.GetShowValueListIDs](SyntaxColoringGetShowValueListIDs.md)
- [SyntaxColoring.SetShowFieldAndTableIDs](SyntaxColoringSetShowFieldAndTableIDs.md)
- [SyntaxColoring.SetShowScriptIDs](SyntaxColoringSetShowScriptIDs.md)
- [SyntaxColoring.SetShowValueListIDs](SyntaxColoringSetShowValueListIDs.md)

### Release notes

- **Version 7.5**
    - Added [SyntaxColoring.GetShowLayoutIDs](http://www.mbsplugins.eu/SyntaxColoringGetShowLayoutIDs.shtml) and [SyntaxColoring.SetShowLayoutIDs](http://www.mbsplugins.eu/SyntaxColoringSetShowLayoutIDs.shtml).

### Blog Entries

- [Goodies 10: Show IDs for scripts, values, fields and tables](https://www.monkeybreadsoftware.com/filemaker/SyntaxColoring/10-ShowIDsforscriptsvaluesfieldsandtables.shtml)
- [MBS FileMaker Plugin, version 7.5pr3](https://www.mbsplugins.de/archive/2017-10-23/MBS_FileMaker_Plugin_version_7/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 19th October 2017 , last changed 14th January 2023

  
[SyntaxColoring.SetShowFieldAndTableIDs](SyntaxColoringSetShowFieldAndTableIDs.md) - [SyntaxColoring.SetShowScriptIDs](SyntaxColoringSetShowScriptIDs.md)

[HTML Version](SyntaxColoringSetShowLayoutIDs.shtml)