From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

DesktopColorPicker.Show(initialColor As Color, prompt As String, left As Integer = 0, top As Integer = 0, width As Integer = 230, height As Integer = 415)

New in 2021r1

Supported for all project types and targets.

Displays the operating system's color picker using the color, prompt, location and size passed.


On macOS, once your app displays the Color Picker, the OS will continue to show it at that size regardless of what you pass as the width and height.

The Prompt, Left, Top, Width and Height parameters are only supported on macOS.