Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
ColorPanel.Choose
Shows color chooser.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
ColorPanel | 8.3 | ❌ No | ✅ Yes | ❌ No | ❌ No | ❌ No |
MBS( "ColorPanel.Choose"; Color { ; Expand } ) More
Parameters
Parameter | Description | Example | Flags |
---|---|---|---|
Color | The color to prefill. | ||
Expand | 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 | Optional |
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
Release notes
- Version 10.2
- Added Expand parameter for ColorPanel.Choose function.
- Version 9.0
- Improved ColorPanel.Choose with passing color and result.
Example Databases
Blog Entries
- MBS FileMaker Plugin, version 10.2pr8
- MBS FileMaker Plugin, version 8.6pr1
- MBS FileMaker Plugin, version 8.3pr2
This function checks for a license.
Created 13th June 2018, last changed 8th May 2020