Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 9.0   9.1   9.2   9.3   9.4   9.5   10.0   10.1   10.2   10.3    Statistic  

ColorPanel.Choose

Shows color chooser.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
ColorPanel 8.3 No Yes No No No
MBS( "ColorPanel.Choose"; Color { ; Expand } )   More

Parameters

Parameter Description Example value
Color The color to prefill.
Expand Optional
Available in MBS FileMaker Plugin 10.2 or newer.
Whether to show dialog expanded.
Default is 0 to show collapsed. Pass 1 for expanded view.
1

Result

Returns color, Cancel or error.

Description

Shows color chooser.
If you pass a color, it's preselected.

Versions until 8.5 return OK when cancel was selected. This was corrected for 9.0.
Windows may not select the given color if it doesn't like it.

Examples

Choose color:

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

See also

Example Databases

Blog Entries

Release notes

Created 13th June 2018, last changed 8th May 2020


Clipboard.SetText   -   ColorPanel.GetColor

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins