Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Sets color.

Component Version macOS Windows Linux Server iOS SDK
ColorPanel 8.3 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "ColorPanel.SetColor"; color )   More


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.


Returns OK or error.


Sets color.


Set red:

MBS( "ColorPanel.SetColor"; "#FF0000" )

See also

Example Databases

This function checks for a license.

Created 13th June 2018, last changed 19th September 2019

ColorPanel.SetAlpha - ColorPanel.SetColorChangedEvaluate