| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
SyntaxColoring.SetDataViewerFormatButtonEnabled
Sets whether to show format button in the value window in data viewer.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| SyntaxColoring | 15.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
MBS( "SyntaxColoring.SetDataViewerFormatButtonEnabled"; Mode ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| Mode | Sets the new mode. | 1 |
Result
Returns OK or error.
Description
Sets whether to show format button in the value window in data viewer.Value is 0 for off, 1 for on and 2 for automatically.
Examples
Turn off button:
MBS( "SyntaxColoring.SetDataViewerFormatButtonEnabled"; 0 )
Turn on the button:
MBS( "SyntaxColoring.SetDataViewerFormatButtonEnabled"; 1 )
Turn on automatic mode:
MBS( "SyntaxColoring.SetDataViewerFormatButtonEnabled"; 2 )
See also
Release notes
- Version 15.5
- Added SyntaxColoring.GetDataViewerFormatButtonEnabled and SyntaxColoring.SetDataViewerFormatButtonEnabled function. Pass 2 to do formatting automatically.
Blog Entries
This function is free to use.
Created 30th October 2025, last changed 30th October 2025
SyntaxColoring.SetCustomFunctionToolsEnabled - SyntaxColoring.SetDebuggerTooltipsEnabled