<?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 Re: How to set Background Image for a TextBox via Macro in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-set-Background-Image-for-a-TextBox-via-Macro/m-p/412819#M153658</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, i didn't think about that, basically if the sheet's background is blue, you'll just need to use blue as background color for the top text and set the transparency&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Mar 2013 14:44:15 GMT</pubDate>
    <dc:creator>lucas4bi</dc:creator>
    <dc:date>2013-03-08T14:44:15Z</dc:date>
    <item>
      <title>How to set Background Image for a TextBox via Macro</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-set-Background-Image-for-a-TextBox-via-Macro/m-p/412810#M153649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;i've been searching for a way to set a Background image to a textbox using macro functions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've already looked trought the forum and the API Guide but couldn't find this functionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can somebody help me?&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luca&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Mar 2013 10:39:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-set-Background-Image-for-a-TextBox-via-Macro/m-p/412810#M153649</guid>
      <dc:creator>lucas4bi</dc:creator>
      <dc:date>2013-03-06T10:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to set Background Image for a TextBox via Macro</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-set-Background-Image-for-a-TextBox-via-Macro/m-p/412811#M153650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Please Find the attached the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Sushil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Mar 2013 10:51:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-set-Background-Image-for-a-TextBox-via-Macro/m-p/412811#M153650</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2013-03-06T10:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to set Background Image for a TextBox via Macro</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-set-Background-Image-for-a-TextBox-via-Macro/m-p/412812#M153651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you sushil for the answer but that's not what i need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to create a macro that creates new text box dinamically and applies to those textboxes a background image, it's not about switching or show/hide a predefined image.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Mar 2013 10:55:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-set-Background-Image-for-a-TextBox-via-Macro/m-p/412812#M153651</guid>
      <dc:creator>lucas4bi</dc:creator>
      <dc:date>2013-03-06T10:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to set Background Image for a TextBox via Macro</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-set-Background-Image-for-a-TextBox-via-Macro/m-p/412813#M153652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It'll be a lot easier using bundled images ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sub CreateTextBox&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;set mytext = ActiveDocument.ActiveSheet.CreateTextObject&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;prop = mytext.GetProperties&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;prop.Layout.Text.v = "='qmem://&amp;lt;bundled&amp;gt;/BuiltIn/thumb2.png'"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;prop.Layout.ImageRepresentation.Presentation=1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;prop.Layout.ImageRepresentation.Fallback=0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;mytext.SetProperties prop&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;end sub&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may need to create two boxes, one for the background image and one for the text on top with transparent background in the same position. Lots of images will increase your document size.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;flipside&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Mar 2013 11:18:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-set-Background-Image-for-a-TextBox-via-Macro/m-p/412813#M153652</guid>
      <dc:creator>flipside</dc:creator>
      <dc:date>2013-03-06T11:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to set Background Image for a TextBox via Macro</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-set-Background-Image-for-a-TextBox-via-Macro/m-p/412814#M153653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, that could be a useful workaround.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So is there no way to create a new textbox inserting a background image directly?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Mar 2013 13:25:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-set-Background-Image-for-a-TextBox-via-Macro/m-p/412814#M153653</guid>
      <dc:creator>lucas4bi</dc:creator>
      <dc:date>2013-03-06T13:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to set Background Image for a TextBox via Macro</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-set-Background-Image-for-a-TextBox-via-Macro/m-p/412815#M153654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is i can't set the image transparency this way also &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2013 11:13:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-set-Background-Image-for-a-TextBox-via-Macro/m-p/412815#M153654</guid>
      <dc:creator>lucas4bi</dc:creator>
      <dc:date>2013-03-08T11:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to set Background Image for a TextBox via Macro</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-set-Background-Image-for-a-TextBox-via-Macro/m-p/412816#M153655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It can be done. For the overlaying text box, you just need to set the background Color to a formula using ARGB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'A' sets the transparency/opacity of the color, and the color you need is white - RGB(255,255,255). So, solid white background is ARGB(255,255,255,255) and 100% transparent is ARGB(0,255,255,255).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;flipside&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2013 11:52:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-set-Background-Image-for-a-TextBox-via-Macro/m-p/412816#M153655</guid>
      <dc:creator>flipside</dc:creator>
      <dc:date>2013-03-08T11:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to set Background Image for a TextBox via Macro</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-set-Background-Image-for-a-TextBox-via-Macro/m-p/412817#M153656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah for the second text box with the text, but not for the first text box with the bundled image as text, there is no way to set the transparency for that.&lt;/P&gt;&lt;P&gt;That's why i'm wondering why there is no Qlikview function that allows you to set a Path for a background image in a textbox&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2013 13:09:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-set-Background-Image-for-a-TextBox-via-Macro/m-p/412817#M153656</guid>
      <dc:creator>lucas4bi</dc:creator>
      <dc:date>2013-03-08T13:09:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to set Background Image for a TextBox via Macro</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-set-Background-Image-for-a-TextBox-via-Macro/m-p/412818#M153657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Setting transparency on the top textbox will mimic setting transparency of the bottom box when using pure white as the base color - just that the transparency will be the reverse (100% transparent on the top box will equate to 100% opaque on the bottom box and vice versa). i.e. if you want to make the image 25% strength, then set the background of the top box to 75% strength (or 255 * 0.75 = 191 alpha value).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding the macro code for setting the background image, the image is embedded in the document and not the path.&amp;nbsp; I'm sure there's probably a way around it, but I'd be surprised if it's easier than the route above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;flipside&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2013 14:13:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-set-Background-Image-for-a-TextBox-via-Macro/m-p/412818#M153657</guid>
      <dc:creator>flipside</dc:creator>
      <dc:date>2013-03-08T14:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to set Background Image for a TextBox via Macro</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-set-Background-Image-for-a-TextBox-via-Macro/m-p/412819#M153658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, i didn't think about that, basically if the sheet's background is blue, you'll just need to use blue as background color for the top text and set the transparency&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2013 14:44:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-set-Background-Image-for-a-TextBox-via-Macro/m-p/412819#M153658</guid>
      <dc:creator>lucas4bi</dc:creator>
      <dc:date>2013-03-08T14:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to set Background Image for a TextBox via Macro</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-set-Background-Image-for-a-TextBox-via-Macro/m-p/412820#M153659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually, yes, you don't need to use pure white as your base, if your background is blue then use the same rgb setting as the base and it works.&amp;nbsp; You'll have a problem with gradient backgrounds though, I think.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2013 14:58:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-set-Background-Image-for-a-TextBox-via-Macro/m-p/412820#M153659</guid>
      <dc:creator>flipside</dc:creator>
      <dc:date>2013-03-08T14:58:52Z</dc:date>
    </item>
  </channel>
</rss>

