Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5   8.6    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 )   More

Parameters

Parameter Description Example value
Color The color to prefill.

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 8.6.
Windows may not select the given color if it doesn't like to.

Examples

Choose color:

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

See also

Blog Entries

Created 13th June 2018, last changed 29th November 2018


Clipboard.SetText   -   ColorPanel.GetColor

Feedback: Report problem or ask question.




Links
MBS Xojo PDF Plugins