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 |
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
Release notes
- 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 5th February 2025
SyntaxColoring.SortMenuEntries.GetEnabled - SyntaxColoring.TurnErrorsBlue.GetEnabled
