Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
ScriptWorkspace.SetBackgroundColor
Sets background color of script workspace.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
ScriptWorkspace | 15.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
MBS( "ScriptWorkspace.SetBackgroundColor"; Color ) More
Parameters
Parameter | Description | Example |
---|---|---|
Color | The color specification. This can be a common color name or color in hex notation: # followed by 2 digits for red, green, blue and optional alpha, e.g. #FF0000 for full red. |
"#FFFFDD" |
Result
Returns OK or error.
Description
Sets background color of script workspace.A fun function to set color if needed, e.g. to highlight the script or make two ScriptWorkspaces have different colors.
Examples
Set to yellow:
MBS( "ScriptWorkspace.SetBackgroundColor"; "#FFFFDD" )
See also
Release notes
- Version 15.3
- Added ScriptWorkspace.GetBackgroundColor and ScriptWorkspace.SetBackgroundColor functions.
Blog Entries
This function is free to use.
Created 21st May 2025, last changed 21st May 2025
ScriptWorkspace.SelectedLines - ScriptWorkspace.SetFocusToScriptList
