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

ColorPanel.SetAlpha

Sets alpha part of the color.

Component Version macOS Windows Linux Server iOS SDK
ColorPanel 10.3 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "ColorPanel.SetAlpha"; Alpha )   More

Parameters

Parameter Description Example
Alpha The new alpha value.
Range from 0.0 to 1.0.
0.5

Result

Returns OK or error.

Description

Sets alpha part of the color.

Examples

Set Alpha to 50%:

Set Variable [$r; Value: MBS( "ColorPanel.SetAlpha"; 0.5 ) ]

See also

Release notes

Blog Entries

This function checks for a license.

Created 15th June 2020, last changed 15th June 2020


ColorPanel.Hide - ColorPanel.SetColor