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


Sets expression to run when color changed.

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


Parameter Description Example
Expression The expression to calculate.


Returns OK or error.


Sets expression to run when color changed.
The plugin can evaluate this expression to set variables, call plugin functions to trigger other things.
Use ColorPanel.GetColor to query new color.

It may be good to call this with empty expression when you leave the layout where you need it to avoid unexpected calculations later.

See also

This function is free to use.

Created 13th June 2018, last changed 20th April 2020

ColorPanel.SetColor - ColorPanel.SetColorChangedScript