<?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: Read out / display Object properties using VBScript in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Read-out-display-Object-properties-using-VBScript/m-p/1231229#M392303</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you expand on what you mean by "see the IDs used for certain properties"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your code fragment above is incorrect.&amp;nbsp; One of the keys to understanding VbScript and this API is understanding what is an object (when Set is required) and what is a simple property.&amp;nbsp; In your example you are also missing the the step of getting the Layout property, which contains SelectionStyle. So a working example may look like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set LB = ActiveDocument.GetSheetObject("LB01")&lt;/P&gt;&lt;P&gt;set box=LB.GetProperties&lt;/P&gt;&lt;P&gt;style = box.Layout.SelectionStyle&lt;/P&gt;&lt;P&gt;msgbox(style)&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com" rel="nofollow" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com" rel="nofollow" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Mar 2017 22:47:25 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2017-03-17T22:47:25Z</dc:date>
    <item>
      <title>Read out / display Object properties using VBScript</title>
      <link>https://community.qlik.com/t5/QlikView/Read-out-display-Object-properties-using-VBScript/m-p/1231228#M392302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the following question is slightly connected to my other problem (&lt;A href="https://community.qlik.com/message/1233264"&gt;set Selection Style of Listbox to LED Checkbox using VBScript&lt;/A&gt; ) but I also need in different ways so I am starting a new thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to read out and display all / specific properties of an object using VBScript ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My aim is to see the IDs used for certain properties.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So far I tried&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set LB = ActiveDocument.GetSheetObject("list")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set box=LB.GetProperties.SelectionStyle&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; msgbox(box)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which doesnt work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any ideas ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Mar 2017 12:09:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Read-out-display-Object-properties-using-VBScript/m-p/1231228#M392302</guid>
      <dc:creator>ni_avoss</dc:creator>
      <dc:date>2017-03-17T12:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: Read out / display Object properties using VBScript</title>
      <link>https://community.qlik.com/t5/QlikView/Read-out-display-Object-properties-using-VBScript/m-p/1231229#M392303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you expand on what you mean by "see the IDs used for certain properties"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your code fragment above is incorrect.&amp;nbsp; One of the keys to understanding VbScript and this API is understanding what is an object (when Set is required) and what is a simple property.&amp;nbsp; In your example you are also missing the the step of getting the Layout property, which contains SelectionStyle. So a working example may look like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set LB = ActiveDocument.GetSheetObject("LB01")&lt;/P&gt;&lt;P&gt;set box=LB.GetProperties&lt;/P&gt;&lt;P&gt;style = box.Layout.SelectionStyle&lt;/P&gt;&lt;P&gt;msgbox(style)&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com" rel="nofollow" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com" rel="nofollow" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Mar 2017 22:47:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Read-out-display-Object-properties-using-VBScript/m-p/1231229#M392303</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2017-03-17T22:47:25Z</dc:date>
    </item>
  </channel>
</rss>

