DesktopColorPicker.Show

From Xojo Documentation

Revision as of 22:24, 15 November 2021 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Method

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.

Notes

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.