jpdrolet Posted September 23, 2005 Report Share Posted September 23, 2005 For some obscure reason, I've always thought up to today that system colors on the color palette did adapt to system colors like the dialog objects... So I colored many controls and labels thinking that they would nicely adapt to end user color scheme. I was wrong! Therefore my wish is that so called system colors be portable and truly adapt to color scheme. Quote Link to comment
PJM_labview Posted September 23, 2005 Report Share Posted September 23, 2005 Jean Pierre I am not sure I understand what you mean. The System colors from the Color Palette have always been working for me since LV 6.1. As seen below, the colors change as the Theme change (The test window is the option window from OpenG Commander). Windows Classic Theme Windows Eggplant Theme PJM Quote Link to comment
Michael Aivaliotis Posted September 23, 2005 Report Share Posted September 23, 2005 I agree with PJM, attach an example please. Quote Link to comment
jpdrolet Posted September 23, 2005 Author Report Share Posted September 23, 2005 OK I typed too fast. There is no obscure reason. It works but not always as I expect. Under silver theme, I colored the label "Seuils d'operation du bulleur" with the system window color. Labels "Version" and "Signature" are colored with system object color. Under lilac theme (yuck!) the two latter are correct but the first isn't. I guess it's because the dialog tab in the silver theme doesn't the have neither the window color nor the panel/object color. Is the solution to use a normal tab colored with system object color? Quote Link to comment
PJM_labview Posted September 23, 2005 Report Share Posted September 23, 2005 Jean Pierre Yes, in general, The system window color is different from the system object color although depending which theme is selected they might be identical. What you can do to find out which is what (and this is not fool proof) is to look in the display property. Select Advanced here This is the setting which I believe is the equivalent of System Window in Labview This is the setting which I believe is the equivalent of System Object in Labview PJM Quote Link to comment
jpdrolet Posted September 23, 2005 Author Report Share Posted September 23, 2005 Thanks PJM. However, the system tab color seems special in the sliver theme. The color is not uniform, slightly darker in the bottom (see my previous post) so there is no single color one can use to put a label over the decoration. The solution to use a normal 2D tab colored with object/panel color seems to work well but for the sake of uniformity I'll have to change all tabs in my application. Quote Link to comment
Michael Aivaliotis Posted September 23, 2005 Report Share Posted September 23, 2005 Thanks PJM.However, the system tab color seems special in the sliver theme. The color is not uniform, slightly darker in the bottom (see my previous post) so there is no single color one can use to put a label over the decoration. The solution to use a normal 2D tab colored with object/panel color seems to work well but for the sake of uniformity I'll have to change all tabs in my application. Yes, you are correct. I've been throught this exact dilemma before. There is no object (decoration) that mimics the WinXP themes stuff. This is a real wish, to tie-in somehow to the winXP skinning. Quote Link to comment
jpdrolet Posted September 25, 2005 Author Report Share Posted September 25, 2005 Yes, you are correct. I've been throught this exact dilemma before. There is no object (decoration) that mimics the WinXP themes stuff. This is a real wish, to tie-in somehow to the winXP skinning. Then I change my wish for a "labelled frame" where the frame is not drawn under a transparent label. Quote Link to comment
jpdrolet Posted September 26, 2005 Author Report Share Posted September 26, 2005 Then I change my wish for a "labelled frame" where the frame is not drawn under a transparent label. Well granted, sort of... I realized that when the label colors are set to <anything>/Black, the label background takes the color of the underneath panel. It was by accident, seeing the application run on another machine where some labels had the correct system colors... Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.