Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Queries current color.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
ColorPanel | 8.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
Parameter | Description | Example | Flags |
---|---|---|---|
ReturnAsNumbers | Pass 1 to return color as list of red, green and blue, e.g. "123¶234¶56" Pass 0 (default) for return as hex value, e.g. "7788FF". |
0 | Optional |
Returns color or error.
Query color:
Set Variable [ $c ; Value: MBS( "ColorPanel.GetColor" ) ]
If [ MBS("IsError") = 0 ]
Set Field [ Color Panel::Color ; "#" & $c ]
End If
This function checks for a license.
Created 13th June 2018, last changed 13th June 2018