| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
SyntaxColoring.SortMenuEntries.SetEnabled
Enables or disables menu sorting.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| SyntaxColoring | 15.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
Deprecated
This function was deprecated.
MBS( "SyntaxColoring.SortMenuEntries.SetEnabled"; Value ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| Value | The new setting. Pass 1 to enable or 0 to disable. |
Result
Returns OK or error.
Description
Enables or disables menu sorting.We sort the "Show Window" menu to show hidden database window and we sort the object styles in the layout editor.
Examples
Disable the menu sorting:
MBS( "SyntaxColoring.SortMenuEntries.SetEnabled"; 0 )
Enable the menu sorting:
MBS( "SyntaxColoring.SortMenuEntries.SetEnabled"; 1 )
See also
- SyntaxColoring.CommentLinks.GetEnabled
- SyntaxColoring.CommentLinks.SetEnabled
- SyntaxColoring.ContextualMenuEnabled.SetEnabled
- SyntaxColoring.SortMenuEntries.GetEnabled
- SyntaxColoring.SortStyleMenu.SetEnabled
Release notes
- Version 16.3
- Deprecated SyntaxColoring.SortMenuEntries.SetEnabled and SyntaxColoring.SortMenuEntries.GetEnabled functions.
- Version 15.1
- Added SyntaxColoring.SortMenuEntries.GetEnabled and SyntaxColoring.SortMenuEntries.SetEnabled functions.
Blog Entries
This function is free to use.
Created 5th February 2025, last changed 10th July 2026
SyntaxColoring.SortMenuEntries.GetEnabled - SyntaxColoring.SortStyleMenu.GetEnabled
MarkDown version: SyntaxColoringSortMenuEntriesSetEnabled.md