<?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 shortcut function to a button doesn't work in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-shortcut-function-to-a-button-doesn-t-work/m-p/282180#M104900</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi QV Experts ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below code is from the QV Doc Example.&amp;nbsp; I am getting following error &lt;/P&gt;&lt;P&gt;Object doesn't support this property or method: 'prop.Type' &lt;/P&gt;&lt;P&gt;Please Suggest. Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rem ** create new shortcut button - clear except locked **&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set newbutton = ActiveDocument.Sheets(0).CreateButton&lt;/P&gt;&lt;P&gt;set prop = newbutton.GetProperties&lt;/P&gt;&lt;P&gt;prop.Text.v = "Clear"&lt;/P&gt;&lt;P&gt;prop.Type = 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;prop.ShortcutFunction = 4&lt;/P&gt;&lt;P&gt;newbutton.SetProperties prop&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My actual requirement is to add a button and set action to "BACK". I should not do it manually, i need to dynamically add a button and set the shortcut function to "BACK"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Dec 2011 13:22:05 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-12-06T13:22:05Z</dc:date>
    <item>
      <title>set shortcut function to a button doesn't work</title>
      <link>https://community.qlik.com/t5/QlikView/set-shortcut-function-to-a-button-doesn-t-work/m-p/282180#M104900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi QV Experts ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below code is from the QV Doc Example.&amp;nbsp; I am getting following error &lt;/P&gt;&lt;P&gt;Object doesn't support this property or method: 'prop.Type' &lt;/P&gt;&lt;P&gt;Please Suggest. Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rem ** create new shortcut button - clear except locked **&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set newbutton = ActiveDocument.Sheets(0).CreateButton&lt;/P&gt;&lt;P&gt;set prop = newbutton.GetProperties&lt;/P&gt;&lt;P&gt;prop.Text.v = "Clear"&lt;/P&gt;&lt;P&gt;prop.Type = 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;prop.ShortcutFunction = 4&lt;/P&gt;&lt;P&gt;newbutton.SetProperties prop&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My actual requirement is to add a button and set action to "BACK". I should not do it manually, i need to dynamically add a button and set the shortcut function to "BACK"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2011 13:22:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-shortcut-function-to-a-button-doesn-t-work/m-p/282180#M104900</guid>
      <dc:creator />
      <dc:date>2011-12-06T13:22:05Z</dc:date>
    </item>
  </channel>
</rss>

