<?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 Problem with setting TOP &amp; LEFT position  to CurrentSelectionBox in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-setting-TOP-LEFT-position-to-CurrentSelectionBox/m-p/319685#M117820</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello QV Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting below error while executing below code please help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;error: &lt;SPAN style="font-size: 8pt;"&gt;Object doesn't support this property or method: 'prop.SetRect' &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;set obj=ActiveDocument.Sheets("Main").CreateCurrentSelectionBox&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set prop=obj.GetRect&lt;/P&gt;&lt;P&gt;prop.Top=200&lt;/P&gt;&lt;P&gt;prop.Left=20&lt;/P&gt;&lt;P&gt;prop.SetRect prop&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Nov 2011 05:18:14 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-11-15T05:18:14Z</dc:date>
    <item>
      <title>Problem with setting TOP &amp; LEFT position  to CurrentSelectionBox</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-setting-TOP-LEFT-position-to-CurrentSelectionBox/m-p/319685#M117820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello QV Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting below error while executing below code please help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;error: &lt;SPAN style="font-size: 8pt;"&gt;Object doesn't support this property or method: 'prop.SetRect' &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;set obj=ActiveDocument.Sheets("Main").CreateCurrentSelectionBox&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set prop=obj.GetRect&lt;/P&gt;&lt;P&gt;prop.Top=200&lt;/P&gt;&lt;P&gt;prop.Left=20&lt;/P&gt;&lt;P&gt;prop.SetRect prop&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2011 05:18:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-setting-TOP-LEFT-position-to-CurrentSelectionBox/m-p/319685#M117820</guid>
      <dc:creator />
      <dc:date>2011-11-15T05:18:14Z</dc:date>
    </item>
    <item>
      <title>Problem with setting TOP &amp; LEFT position  to CurrentSelectionBox</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-setting-TOP-LEFT-position-to-CurrentSelectionBox/m-p/319686#M117821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found way to achive. Below is the code might help others&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;set mybox = ActiveDocument.Sheets("Main").CreateCurrentSelectionBox&lt;/P&gt;&lt;P&gt;set fr = mybox.GetFrameDef&lt;/P&gt;&lt;P&gt;pos = fr.Rect&lt;/P&gt;&lt;P&gt;pos.Top = 300 + 20&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pos.Left = 15&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mybox.SetFrameDef fr&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2011 07:21:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-setting-TOP-LEFT-position-to-CurrentSelectionBox/m-p/319686#M117821</guid>
      <dc:creator />
      <dc:date>2011-11-15T07:21:57Z</dc:date>
    </item>
  </channel>
</rss>

