Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
Can you please suggest me how to change the background colour of a list box.
Thanks and Regards,
Raghav
Hi,
I like your solution, John, although it's 'crooking the books' a bit? However, I really liked Brad's direct reply. I tried it out, using a light colour for background e.g. yellow. In addition, I adjusted the Transparency %. I can now make my models so much more 'prettier'. However, it only works for QV 10.
Thanks Brad.
Arie
vandongen wrote:
I like your solution, John, although it's 'crooking the books' a bit?
You're right, and I'd likely never do it that way unless forced. I prefer my users simply get used to the default controls with their default look and feel. Also, it doesn't have full list box functionality. Control-click and shift-click don't work in it. You can't do a search in it. There are probably other issues as well. I don't like giving up functionality for aesthetics, even if I'm not a fan of the default bright green for selected values.
Hi all, you can fake some functionality of the list box with a stright table simply by adding the drop-down select option found in the presentation tab. This way the user may click on the drop down and perform Control-click type selections, as well as, string searches, however I agree with John, the layout should be kept light and clear.
Reagards.
Hi John, good solution. Selection is valid for the object type "Graphic", but how can make the change to a calendar?
Well, what you show is just a list box, so you could do it like I suggested before.
For a calendar object, you can fake a calendar using other objects. See the attached example. In the example, I'm using the standard gray and green, but these are explicitly defined as a background color expression underneath the main expression. You'd also need to change a bunch of other objects to match, like the background text box I used, custom format cell for the blank cells and cell borders, and so on.
I don't recommend going to all this effort unless there is a strong reason. I wouldn't personally consider color changes a strong reason. In the example, the assumed reason was that weeks needed to start with Sunday instead of Monday, something the regular calendar object doesn't support (unless that's been more recently addressed in some way).
Thank you very much for the advice and example. Follow your great advice
On the AJAX client in QlikView 11, you can also change the default selection colors using a Document Extension. An example can be downloaded from here: http://www.qlikfix.com/2012/05/18/any-colour-as-long-as-its-green/
Hi,
I used your attachment and I put conditional color in it. But when I select one value then other value got no background color else all three values are having color.
Any help is welcome?
Hi
what does it mean?
=
if(only({1} Type)='Current',green(),red())
used in text color
Hi @John witherspoon,
I have gone through your example, I am quite wondering how can you are showing all the field name without using any expression.
Please let me know it will really appreciable.
Regards,
Rohit