<?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 Using an array to create a dynamic dropdown list? in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Using-an-array-to-create-a-dynamic-dropdown-list/m-p/630000#M6981</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;is it possible to use an array to create a list of dropdown options that can be changed on the fly?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So instead of&lt;/P&gt;
&lt;P&gt;values "example" option1, option2... etc&lt;/P&gt;
&lt;P&gt;we could have&amp;nbsp;&lt;/P&gt;
&lt;P&gt;values "example" option_array[]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;which would automatically fill the list with the array values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 05 Sep 2024 13:59:08 GMT</pubDate>
    <dc:creator>JGoode</dc:creator>
    <dc:date>2024-09-05T13:59:08Z</dc:date>
    <item>
      <title>Using an array to create a dynamic dropdown list?</title>
      <link>https://community.graphisoft.com/t5/GDL/Using-an-array-to-create-a-dynamic-dropdown-list/m-p/630000#M6981</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;is it possible to use an array to create a list of dropdown options that can be changed on the fly?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So instead of&lt;/P&gt;
&lt;P&gt;values "example" option1, option2... etc&lt;/P&gt;
&lt;P&gt;we could have&amp;nbsp;&lt;/P&gt;
&lt;P&gt;values "example" option_array[]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;which would automatically fill the list with the array values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2024 13:59:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Using-an-array-to-create-a-dynamic-dropdown-list/m-p/630000#M6981</guid>
      <dc:creator>JGoode</dc:creator>
      <dc:date>2024-09-05T13:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: Using an array to create a dynamic dropdown list?</title>
      <link>https://community.graphisoft.com/t5/GDL/Using-an-array-to-create-a-dynamic-dropdown-list/m-p/630005#M6983</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;it is possible. Here a quick preview:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Xandros_0-1725545054898.png" style="width: 999px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/76075i62394A1C75AF9219/image-size/large?v=v2&amp;amp;px=999" role="button" title="Xandros_0-1725545054898.png" alt="Xandros_0-1725545054898.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Xandros_1-1725545071610.png" style="width: 999px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/76076i40004CB74322F89C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Xandros_1-1725545071610.png" alt="Xandros_1-1725545071610.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2024 14:04:41 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Using-an-array-to-create-a-dynamic-dropdown-list/m-p/630005#M6983</guid>
      <dc:creator>Xandros</dc:creator>
      <dc:date>2024-09-05T14:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: Using an array to create a dynamic dropdown list?</title>
      <link>https://community.graphisoft.com/t5/GDL/Using-an-array-to-create-a-dynamic-dropdown-list/m-p/630006#M6984</link>
      <description>&lt;P&gt;&lt;STRIKE&gt;What's the type of the parameter? If it's numerical, you could use parameter buffer (put and get). If it's a string, you'll have to use values{2} and create a parameter for the numerical representation of the value, which is a good idea anyways.&lt;/STRIKE&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Edit: never mind, see&amp;nbsp;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/64945"&gt;@Xandros&lt;/a&gt;' solution below.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2024 14:33:32 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Using-an-array-to-create-a-dynamic-dropdown-list/m-p/630006#M6984</guid>
      <dc:creator>vlahtinen</dc:creator>
      <dc:date>2024-09-05T14:33:32Z</dc:date>
    </item>
  </channel>
</rss>

