This content has been marked as final. Show 2 replies
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 :
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 6=excluded selected
rem 7=excluded locked
Has someone tried to use this example or this properties and what was the effects ?