Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Selection Color Customization

Hello all,

I need to change the selection color of a QlikView document. I have found that I can do that, if custom selection color scheme is selected in the document settings, using the following macro.

set up = ActiveDocument.GetApplication.GetUserPreferences

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

up.CustomSelFgColor(1).PrimaryCol.Col = RGB (0,0,0)

ActiveDocument.GetApplication.SetUserPreferences up

However when I open the document using ie plugin on QlikView server the colors are the default QV colors instead of the colors used in the desktop application.

Is there any way to force the use of custom selection color scheme in the server?

Another question I have is why the colors in the desktop application can be changed with the macro above, but can't be changed with the following macro.

set p = ActiveDocument.GetProperties

p.SelectionBgColor(1).PrimaryCol.Col = RGB (255,0,0)

p.SelectionFgColor(1).PrimaryCol.Col = RGB (0,0,0)

ActiveDocument.SetProperties p

Thanks in advance.

Best regards

0 Replies