# ColorPicker window location

**URL:** <https://forum.xojo.com/t/colorpicker-window-location/79261>\
**Category:** Windows\
**Created:** [February 16, 2024, 10:53pm UTC](https://forum.xojo.com/t/colorpicker-window-location/79261 "2024-02-16T22:53:24Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chris\_Lieggi](https://forum.xojo.com/user_avatar/forum.xojo.com/chris_lieggi/32/16615_2.png) [@Chris\_Lieggi](https://forum.xojo.com/u/Chris_Lieggi)\
**Post date:** [February 16, 2024, 10:53pm UTC](https://forum.xojo.com/t/colorpicker-window-location/79261/1 "2024-02-16T22:53:24Z")

</div>

I’m trying to figure out if there’s a way to control where the colorpicker window pops up when activated, currently my application uses 2 screens as “control” and “display” and whenever I launch a colorpicker window, (using Color.SelectFromDialog) the window opens at the upper left corner of the 2nd display, and I can’t seem to find any handles to change that (it looks like from the documentation if I use colorpicker.show I can define a top, left, height, width in MacOS, but not windows) Any suggestions?

---

<div class="post-metadata">

**Author:** ![Emile\_Schwarz](https://forum.xojo.com/letter_avatar_proxy/v4/letter/e/90ced4/32.png) [@Emile\_Schwarz](https://forum.xojo.com/u/Emile_Schwarz)\
**Post date:** [February 17, 2024, 8:39am UTC](https://forum.xojo.com/t/colorpicker-window-location/79261/2 "2024-02-17T08:39:15Z")

</div>

Where the Color Picker opens when you are using WordPad ?

---

<div class="post-metadata">

**Author:** ![Chris\_Lieggi](https://forum.xojo.com/user_avatar/forum.xojo.com/chris_lieggi/32/16615_2.png) [@Chris\_Lieggi](https://forum.xojo.com/u/Chris_Lieggi)\
**Post date:** [February 20, 2024, 6:39pm UTC](https://forum.xojo.com/t/colorpicker-window-location/79261/3 "2024-02-20T18:39:23Z")

</div>

to clarify, my application has the capability of changing certain colors (text, background) on a canvas that fills my second display, but when it opens a color picker window, instead of displaying over the "control interface window on the primary display (which is the preferred behavior) it opens over the canvas on my 2nd display.

---

<div class="post-metadata">

**Author:** ![Ian\_Kennedy](https://forum.xojo.com/user_avatar/forum.xojo.com/ian_kennedy/32/6860_2.png) [@Ian\_Kennedy](https://forum.xojo.com/u/Ian_Kennedy)\
**Post date:** [February 20, 2024, 8:21pm UTC](https://forum.xojo.com/t/colorpicker-window-location/79261/4 "2024-02-20T20:21:50Z")

</div>

On macOS the colour picker is universal palet, there is only one of them shared between all applications. It is shown in the last place it was put, no matter what application used it.

Never mind I see this is Windows.

---

<div class="post-metadata">

**Author:** ![Chris\_Lieggi](https://forum.xojo.com/user_avatar/forum.xojo.com/chris_lieggi/32/16615_2.png) [@Chris\_Lieggi](https://forum.xojo.com/u/Chris_Lieggi)\
**Post date:** [March 13, 2024, 3:22pm UTC](https://forum.xojo.com/t/colorpicker-window-location/79261/5 "2024-03-13T15:22:34Z")

</div>

update / solved(ish): I had been calling the color picker from a floating “options” window, changing it to a document window causes the color picker to open on the same display as its parent window.
