Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
ColorPanel.SetColor
Sets color.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| ColorPanel | 8.3 | Yes | No | No | No | No |
MBS( "ColorPanel.SetColor"; color ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| color | A color value. 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. |
"#FF0000" |
Result
Returns OK or error.
Description
Sets color.Examples
Set red:
MBS( "ColorPanel.SetColor"; "#FF0000" )
See also
- ColorPanel.GetColor
- ColorPanel.GetColorName
- ColorPanel.SetAlpha
- ColorPanel.SetColorChangedScript
- ColorPanel.Show
Example Databases
Created 13th June 2018, last changed 19th September 2019
ColorPanel.SetAlpha - ColorPanel.SetColorChangedEvaluate
Feedback: Report problem or ask question.
Links
MBS FileMaker blog