Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Change colour of selected (active) field

Dear all,


Is it possible to change the colours of the active (selected) and passive fields in a list?

List.jpg

The colour "green" is the selected field, I would like to change this to another colour...

I can't find an option to change this colours in the properties of the field, so I think I have to use an expression?

Thanks in advance!

16 Replies
CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,

     Check with the options available in Document Properties-->General Tab-->Under the selection appearance by changing the color scheme.

Celambarasan

Anonymous
Not applicable
Author

Hi

     http://community.qlik.com/message/83648

in this link you have information how to change the background color of listbox in qlikview 10

Regards

Ashok

ekech_infomotio
Partner - Creator II
Partner - Creator II

So for now it works on Qlikview-Desktop, but requires me to save the app to get the colors. Also, if I put my application on the server it won't work for now - neither AJAX, nor IE-Plugin. Is there a solution to get the custom colors to work on the server or isn't it possible because user colors do not work in general on the server / via the accesspoint?

regards,

Edgar

Not applicable
Author

So far I only tried it with QlikView-Desktop. So unfortunately I can't tell you if it also works on the server or help you with getting it to work.

If you find out, I'd be happy to know about it though.

Not applicable
Author

@Susann

Thanx for your macro code it's working properly as per matching need of changing Listbox selection color ...

Regards,

Harshal Patil

neetu_singh
Partner - Creator III
Partner - Creator III

Hi,

there is an option to change the color i.e. In Document Properties ------> General tab -----> Selection Appearance (@ Bottom Right) ------> Color Scheme.

Apart of this you can not change the by default color.


Regards

Neetu Singh

Not applicable
Author

Hi

You can change color of selected field ...follow below instructions

Settings -> Document Properties -> General -> Color Scheme and choose [Custom].

now

Go to Settings -> Document Properties -> Triggers

add to "OnOpen"

Action Type: External / Run Macro

Name the Macro and Pest the following code...

sub [Enter Name of your Macro]

set up = ActiveDocument.GetApplication.GetUserPreferences

up.CustomSelBgColor(1).PrimaryCol.Col = RGB (255,0,0)

ActiveDocument.GetApplication.SetUserPreferences up

end sub

Then TEST it & done it