LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can't select color: colorbox window out of reach

Hello!

In my program running with maximized window I placed colorbox in the right bottom corner.

But when my program runs (though it doesn't matter, the same is true for the stopped program) I fail to select any color. I mean when I click at color box its window always appears *under* colorbox, so I see almost nothing and can't select any color.

I had to use workaround - I created my own colorbox with the help of Pict Ring where I placed 16 colors, but my solution isn't too much liken to me: there'are only 16 colors in it and I can't stretch my colorbox, besides if I change my colorbox (I use in my program 24 such colorboxes) I had to go through all its instances and replace them manually with the new one.

See attached for the simple program with stop button, LV colorbox in the center, and LV color box and my workaround-color box in the right-bottom corner.

BTW the colorbox constant on the block diagram behaves the same way: if you need to select color in the colorbox that is placed in the right-bottom corner on BD you'll fail to do it. You'll have to scroll the window of the block diagram so that your color box was nearer to the window's center.

Am I right? Or did I miss something and the colorbox window can be moved some way?

Thanks in advance for any help.

Best regards,
Rashid.

Using LV 8.0 Pro on WinXP.
0 Kudos
Message 1 of 5
(3,183 Views)
That looks more like a bug than a user issue. I was trying to figure out a way to catch the event, move the control over and up, select the color, then move the control back original coordinates... but I am out of time to devote.

I could suggest a pop-up response to the mouse down event that allows the user to select a color. This would allow you to have your "custom" window and colors appear anywhere.
Message 2 of 5
(3,169 Views)
Matt,

Your suggestion is reasonable, but my program was designed with 1 (maximum 2)-click paradigm in the mind. My first version of the program (written in Delphi 3 years ago) contained a lot of pop-up windows, and now I've redesigned my program in LabView without pop-windows.

So for this specific case such workaround doesn't fit.

But anyway thanks for suggestion 🙂

Best regards,
Rashid.

P.S. Frankly speaking, I already shipped my program to customer and he uses it, so my post should be considered first of all as BUG REPORT, and only after that as searching for workaround. As we don't know when this problem will be solved by NI, I appreciate any suggestions for workaround for the future use. Thanks to all in advance.
Message 3 of 5
(3,164 Views)
Hi Rashid,
 
This has been reported to R&D (# 3U7H91RJ) for further investigation. I appreciate your posting a workaround for the rest of us to use in the meantime. Thanks for the feedback!
Charlie S.

Visit ni.com/gettingstarted for step-by-step help in setting up your system
Message 4 of 5
(3,137 Views)
2 All

A little note:
16 colors in my workaround correspond to standard
16 colors used in other applications (IDEs, and so on):
Black
Maroon
Green
Olive
Navy
Purple
Teal
Gray
Silver
Red
Lime
Yellow
Blue
Fuchsia
Aqua
White

See attached for example of selecting color and zip with 16 pics in bmp-format.

In example: after user selected color, s/he can see the color in hex and string format:
colorbox - color in hex (say, FFFFFF) - color in text (say, white).

Best regards,
Rashid.
Download All
0 Kudos
Message 5 of 5
(3,114 Views)