<?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: Passing Weblinks between values{2} list and Interface in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Passing-Weblinks-between-values-2-list-and-Interface/m-p/579485#M6012</link>
    <description>&lt;P&gt;You can also do it with &lt;A href="https://gdl.graphisoft.com/reference-guide/expressions#PARVALUE_DESCRIPTION_gdlcommand" target="_blank" rel="noopener"&gt;parvalue_description&lt;/A&gt; if using values{2}.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 08 Dec 2023 13:30:26 GMT</pubDate>
    <dc:creator>Peter Baksa</dc:creator>
    <dc:date>2023-12-08T13:30:26Z</dc:date>
    <item>
      <title>Passing Weblinks between values{2} list and Interface</title>
      <link>https://community.graphisoft.com/t5/GDL/Passing-Weblinks-between-values-2-list-and-Interface/m-p/576520#M5887</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to provide interface weblinks that change based on a values{2} list i.e.,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;values{2} "WbLnk",&amp;nbsp; 0, `&lt;A href="http://www.google.com" target="_blank" rel="noopener"&gt;www.google.com&lt;/A&gt;:`,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1, `&lt;A href="http://www.youtube.com" target="_blank" rel="noopener"&gt;www.youtube.com&lt;/A&gt;:`,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2, `&lt;A href="http://www.facebook.com" target="_blank" rel="noopener"&gt;www.facebook.com&lt;/A&gt;:`&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;UI_PICT_BUTTON UI_LINK, "", "Icon", 250, 100, 18, 18, 0, "WbLnk"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But that doesn't work...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My messy solution has multiple IF THEN statements in the interface script, each with their own weblink and text i.e.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;IF WbLnk = 0 THEN&amp;nbsp; &amp;nbsp; &amp;nbsp;gosub "LinkA"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;IF WbLnk = 1 THEN&amp;nbsp; &amp;nbsp; &amp;nbsp;gosub "LinkA"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;! and so on...&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;end&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;"LinkA":&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;UI_PICT_BUTTON UI_LINK, "", "Weblink_Icon", 250, 100, 18, 18, 0, "&lt;A href="http://www.google.com" target="_blank" rel="noopener"&gt;www.google.com&lt;/A&gt;"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;return&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;! and so on...&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a way to have UI_OUTFIELD and&amp;nbsp;UI_PICT_BUTTON UI_LINK fed "www" address info from the&amp;nbsp;values{2} list?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Many thanks, Matt&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 11:33:17 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Passing-Weblinks-between-values-2-list-and-Interface/m-p/576520#M5887</guid>
      <dc:creator>GDL Enthusiast</dc:creator>
      <dc:date>2024-09-26T11:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: Passing Weblinks between values{2} list and Interface</title>
      <link>https://community.graphisoft.com/t5/GDL/Passing-Weblinks-between-values-2-list-and-Interface/m-p/576583#M5888</link>
      <description>&lt;P&gt;Because you are inserting WbLnk value, which is &lt;EM&gt;INTEGER&lt;/EM&gt;. Just change in &lt;STRONG&gt;Parameters&lt;/STRONG&gt; tab it to &lt;EM&gt;STRING (Abc)&lt;/EM&gt; type and of course in &lt;STRONG&gt;Parameter script&lt;/STRONG&gt; change values{2} to simply values&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2023 07:13:47 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Passing-Weblinks-between-values-2-list-and-Interface/m-p/576583#M5888</guid>
      <dc:creator>A_ Smith</dc:creator>
      <dc:date>2023-11-21T07:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: Passing Weblinks between values{2} list and Interface</title>
      <link>https://community.graphisoft.com/t5/GDL/Passing-Weblinks-between-values-2-list-and-Interface/m-p/576702#M5889</link>
      <description>&lt;P&gt;Thank you so much, that solves it! Most appreciated A_Smith!&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2023 18:26:13 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Passing-Weblinks-between-values-2-list-and-Interface/m-p/576702#M5889</guid>
      <dc:creator>GDL Enthusiast</dc:creator>
      <dc:date>2023-11-21T18:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: Passing Weblinks between values{2} list and Interface</title>
      <link>https://community.graphisoft.com/t5/GDL/Passing-Weblinks-between-values-2-list-and-Interface/m-p/579485#M6012</link>
      <description>&lt;P&gt;You can also do it with &lt;A href="https://gdl.graphisoft.com/reference-guide/expressions#PARVALUE_DESCRIPTION_gdlcommand" target="_blank" rel="noopener"&gt;parvalue_description&lt;/A&gt; if using values{2}.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2023 13:30:26 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Passing-Weblinks-between-values-2-list-and-Interface/m-p/579485#M6012</guid>
      <dc:creator>Peter Baksa</dc:creator>
      <dc:date>2023-12-08T13:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: Passing Weblinks between values{2} list and Interface</title>
      <link>https://community.graphisoft.com/t5/GDL/Passing-Weblinks-between-values-2-list-and-Interface/m-p/579527#M6021</link>
      <description>&lt;P&gt;That is a new peice of code for me, thank you Peter for introducing me to it!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many thanks, Matt&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2023 20:46:55 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Passing-Weblinks-between-values-2-list-and-Interface/m-p/579527#M6021</guid>
      <dc:creator>GDL Enthusiast</dc:creator>
      <dc:date>2023-12-08T20:46:55Z</dc:date>
    </item>
  </channel>
</rss>

