<?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 set object properties in script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-object-properties-in-script/m-p/146906#M25382</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Afzal,&lt;/P&gt;&lt;P&gt;As far as I know you can't set object positions straight from the script. However, you could run a macro when opening your QVW, which reads values from variables defined in your script and uses those to position objects.&lt;/P&gt;&lt;P&gt;Attached is a simple QVW which defines two variables x_pos and y_pos in the script, and a macro position_table which positions the tablebox to the location defined by x_pos and y_pos.&lt;/P&gt;&lt;P&gt;With regards,&lt;/P&gt;&lt;P&gt;Martijn ter Schegget&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Jun 2009 19:10:53 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-06-16T19:10:53Z</dc:date>
    <item>
      <title>set object properties in script</title>
      <link>https://community.qlik.com/t5/QlikView/set-object-properties-in-script/m-p/146904#M25380</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;is it possible to set object's properties in script. for example i want to set object's X and Y position which we define in Caption tab. i want to do that through scripting. is it possible.?? If yes then help me out..&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Afzal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2009 16:44:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-object-properties-in-script/m-p/146904#M25380</guid>
      <dc:creator />
      <dc:date>2009-06-16T16:44:38Z</dc:date>
    </item>
    <item>
      <title>set object properties in script</title>
      <link>https://community.qlik.com/t5/QlikView/set-object-properties-in-script/m-p/146905#M25381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Afzal,&lt;BR /&gt;Yes, it is possible. See example with Left=0.&lt;BR /&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;sub Move&lt;BR /&gt; set p1 = ActiveDocument.GetSheetObject("TX01")&lt;BR /&gt; set fr = p1.GetFrameDef&lt;BR /&gt; set pos = fr.Rect&lt;BR /&gt; pos.Left = 0&lt;BR /&gt; p1.SetFrame fr,true, ""&lt;BR /&gt;end sub&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;In the same macro, you can define Top, Height, Width. &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2009 19:05:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-object-properties-in-script/m-p/146905#M25381</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-06-16T19:05:23Z</dc:date>
    </item>
    <item>
      <title>set object properties in script</title>
      <link>https://community.qlik.com/t5/QlikView/set-object-properties-in-script/m-p/146906#M25382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Afzal,&lt;/P&gt;&lt;P&gt;As far as I know you can't set object positions straight from the script. However, you could run a macro when opening your QVW, which reads values from variables defined in your script and uses those to position objects.&lt;/P&gt;&lt;P&gt;Attached is a simple QVW which defines two variables x_pos and y_pos in the script, and a macro position_table which positions the tablebox to the location defined by x_pos and y_pos.&lt;/P&gt;&lt;P&gt;With regards,&lt;/P&gt;&lt;P&gt;Martijn ter Schegget&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2009 19:10:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-object-properties-in-script/m-p/146906#M25382</guid>
      <dc:creator />
      <dc:date>2009-06-16T19:10:53Z</dc:date>
    </item>
    <item>
      <title>set object properties in script</title>
      <link>https://community.qlik.com/t5/QlikView/set-object-properties-in-script/m-p/146907#M25383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PS: to find out more about macro syntax, take a look at the 'Apiguide.qvw' in the Documentation subdirectory of your QlikView program directory.&lt;/P&gt;&lt;P&gt;Martijn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2009 19:13:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-object-properties-in-script/m-p/146907#M25383</guid>
      <dc:creator />
      <dc:date>2009-06-16T19:13:02Z</dc:date>
    </item>
    <item>
      <title>set object properties in script</title>
      <link>https://community.qlik.com/t5/QlikView/set-object-properties-in-script/m-p/146908#M25384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is awesome! I am a designer not a programmer, and I really liked how well this works. Is there any way you could give me an example of how you could apply this to multiple objects? Not all objects on the sheet, just a certain set of objects.&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Kris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Sep 2010 01:41:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-object-properties-in-script/m-p/146908#M25384</guid>
      <dc:creator />
      <dc:date>2010-09-02T01:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: set object properties in script</title>
      <link>https://community.qlik.com/t5/QlikView/set-object-properties-in-script/m-p/146909#M25385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for this example you really saved my design!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mireille&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Aug 2012 19:05:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-object-properties-in-script/m-p/146909#M25385</guid>
      <dc:creator />
      <dc:date>2012-08-18T19:05:32Z</dc:date>
    </item>
  </channel>
</rss>

