| 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 16.4
- Improved ScriptWorkspace.SetBackgroundColor to pass empty color to reset color.
- Version 15.3
- Added ScriptWorkspace.GetBackgroundColor and ScriptWorkspace.SetBackgroundColor functions.
Blog Entries
- MBS FileMaker Plugin, version 16.4pr4
- MBS FileMaker Plugin 15.3 News
- MBS FileMaker Plugin, version 15.3pr1
This function is free to use.
Created 21st May 2025, last changed 21st May 2025
ScriptWorkspace.SelectedLines - ScriptWorkspace.SetFocusToScript
MarkDown version: ScriptWorkspaceSetBackgroundColor.md