SyntaxColoring.SortStyleMenu.SetEnabled
---------------------------------------

Whether to sort style menu in contextual menu.

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

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

**MBS**( **"SyntaxColoring.SortStyleMenu.SetEnabled";** /\* Whether to sort style menu in contextual menu. \*/  
**$Value**) /\* The new setting.  
Pass 1 to enable sorting or 0 to disable.e.g. 1 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Value | The new setting.   Pass 1 to enable sorting or 0 to disable. | 1 |

### Result

Returns OK or error.

### Description

Whether to sort style menu in contextual menu.  
### Examples

Enable sorting:

 MBS ( "SyntaxColoring.SortStyleMenu.SetEnabled"; 1 )  
Disable sorting:

 MBS ( "SyntaxColoring.SortStyleMenu.SetEnabled"; 0 )  
### See also

- [SyntaxColoring.HelpMenu.GetEnabled](SyntaxColoringHelpMenuGetEnabled.md)
- [SyntaxColoring.HelpMenu.SetEnabled](SyntaxColoringHelpMenuSetEnabled.md)
- [SyntaxColoring.ScriptGoToBox.GetEnabled](SyntaxColoringScriptGoToBoxGetEnabled.md)
- [SyntaxColoring.ScriptGoToBox.SetEnabled](SyntaxColoringScriptGoToBoxSetEnabled.md)
- [SyntaxColoring.ScriptSearchBox.SetEnabled](SyntaxColoringScriptSearchBoxSetEnabled.md)
- [SyntaxColoring.SortMenuEntries.SetEnabled](SyntaxColoringSortMenuEntriesSetEnabled.md)
- [SyntaxColoring.SortStyleMenu.GetEnabled](SyntaxColoringSortStyleMenuGetEnabled.md)

### Release notes

- **Version 15.4**
    - Added [SyntaxColoring.SortStyleMenu.SetEnabled](https://www.mbsplugins.eu/SyntaxColoringSortStyleMenuSetEnabled.shtml) and [SyntaxColoring.SortStyleMenu.GetEnabled](https://www.mbsplugins.eu/SyntaxColoringSortStyleMenuGetEnabled.shtml) functions.

### Blog Entries

- [MBS FileMaker Plugin 15.4 News](https://www.mbsplugins.de/archive/2025-09-23/MBS_FileMaker_Plugin_154_News/monkeybreadsoftware_blog_filemaker)
- [Neues MBS Plugin 15.4 für Claris FileMaker](https://www.mbsplugins.de/archive/2025-09-09/Neues_MBS_Plugin_154_für_Clar/monkeybreadsoftware_blog_filemaker)
- [MBS Plugin 15.4 for Claris FileMaker](https://www.mbsplugins.de/archive/2025-09-09/MBS_Plugin_154_for_Claris_File/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 3th September 2025 , last changed 5th September 2025

  
[SyntaxColoring.SortStyleMenu.GetEnabled](SyntaxColoringSortStyleMenuGetEnabled.md) - [SyntaxColoring.TurnErrorsBlue.GetEnabled](SyntaxColoringTurnErrorsBlueGetEnabled.md)

[HTML Version](SyntaxColoringSortStyleMenuSetEnabled.shtml)