Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
vincent_ardiet
Specialist
Specialist

Customizing color scheme

Hi,

My client asks me if it's possible de customize the standard green color used to mark selections in QV.

I know that in the document properties we can choose some green level with the "Color Scheme" drop down list but I was wondering if other alternatives are possible.

I have found in the community someone talking about SelectionBgColor properties and I have try to use the example given in the API Guide for QV11. But it doesn't seem to work (no error but no effects).

Here is the example :

set p=ActiveDocument.GetProperties

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

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

p.SelectionBgColor(5).PrimaryCol.Col = RGB (255,119,168)

p.SelectionFgColor(5).PrimaryCol.Col = RGB (251,251,188)

rem indexes

rem 0=locked

rem 1=selected

rem 2=optional

rem 3=deselected

rem 4=alternative

rem 5=excluded

rem 6=excluded selected

rem 7=excluded locked

ActiveDocument.SetProperties p

Has someone tried to use this example or this properties and what was the effects ?

Regards,

Vincent

2 Replies
Not applicable

I have the same problem!

have y found a solution?

Mauro

Gysbert_Wassenaar

See here: Selection Color Customization or here: Any colour, as long as it's green » The Qlik Fix!.


talk is cheap, supply exceeds demand