<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Selection Color Customization in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Selection-Color-Customization/m-p/401320#M149333</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set up = ActiveDocument.GetApplication.GetUserPreferences&lt;/P&gt;&lt;P&gt;up.CustomSelBgColor(1).PrimaryCol.Col = RGB (255,0,0)&lt;/P&gt;&lt;P&gt;up.CustomSelFgColor(1).PrimaryCol.Col = RGB (0,0,0)&lt;/P&gt;&lt;P&gt;ActiveDocument.GetApplication.SetUserPreferences up&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to force the use of custom selection color scheme in the server?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set p = ActiveDocument.GetProperties&lt;/P&gt;&lt;P&gt;p.SelectionBgColor(1).PrimaryCol.Col = RGB (255,0,0)&lt;/P&gt;&lt;P&gt;p.SelectionFgColor(1).PrimaryCol.Col = RGB (0,0,0)&lt;/P&gt;&lt;P&gt;ActiveDocument.SetProperties p&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Nov 2012 10:25:37 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-11-05T10:25:37Z</dc:date>
    <item>
      <title>Selection Color Customization</title>
      <link>https://community.qlik.com/t5/QlikView/Selection-Color-Customization/m-p/401320#M149333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set up = ActiveDocument.GetApplication.GetUserPreferences&lt;/P&gt;&lt;P&gt;up.CustomSelBgColor(1).PrimaryCol.Col = RGB (255,0,0)&lt;/P&gt;&lt;P&gt;up.CustomSelFgColor(1).PrimaryCol.Col = RGB (0,0,0)&lt;/P&gt;&lt;P&gt;ActiveDocument.GetApplication.SetUserPreferences up&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to force the use of custom selection color scheme in the server?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set p = ActiveDocument.GetProperties&lt;/P&gt;&lt;P&gt;p.SelectionBgColor(1).PrimaryCol.Col = RGB (255,0,0)&lt;/P&gt;&lt;P&gt;p.SelectionFgColor(1).PrimaryCol.Col = RGB (0,0,0)&lt;/P&gt;&lt;P&gt;ActiveDocument.SetProperties p&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2012 10:25:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selection-Color-Customization/m-p/401320#M149333</guid>
      <dc:creator />
      <dc:date>2012-11-05T10:25:37Z</dc:date>
    </item>
  </channel>
</rss>

