<?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: glob_ui_button in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/glob-ui-button/m-p/160500#M12640</link>
    <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
This might work (not tested);
&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;if glob_ui_button_id=1 then 
    alu= not(alu)
    parameters alu= alu
endif
&lt;/PRE&gt;

This should work;
&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;if glob_ui_button_id=1 then
    if alu= 1 then
        alu= 0
    else
        alu= 1
    endif
    parameters alu= alu
endif&lt;/PRE&gt;</description>
    <pubDate>Sun, 04 May 2014 17:44:09 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-05-04T17:44:09Z</dc:date>
    <item>
      <title>glob_ui_button</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/glob-ui-button/m-p/160495#M12635</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;what am i doing wrong? &lt;BR /&gt;
ii'mtrying to make this button change a parameter called "alu".&lt;BR /&gt;
the button Works, but the parameter wont change????&lt;/T&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;IMG src="http://community.graphisoft.com/t5/image/serverpage/image-id/68765iA658E85956DCE369/image-size/large?v=v2&amp;amp;px=999" border="0" alt="25-04-2014 15-27-19.jpg" title="25-04-2014 15-27-19.jpg" /&gt;</description>
      <pubDate>Fri, 25 Apr 2014 13:13:40 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/glob-ui-button/m-p/160495#M12635</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-25T13:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: glob_ui_button</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/glob-ui-button/m-p/160496#M12636</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
You should have the parameter command &lt;BR /&gt;
in the master or value script, not in the interface script.&lt;BR /&gt;
&lt;BR /&gt;
Transfer everything in the master script and leave only lines
&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;ui_dialog.....
ui_pict_button....
&lt;/PRE&gt;
in the interface script.&lt;BR /&gt;
&lt;BR /&gt;
In addition I suggest adding an endif&lt;BR /&gt;

&lt;PRE&gt;if glob_ui_button_id=1 then
    alu= 1
    parameters alu= 1
endif&lt;/PRE&gt;

&lt;BR /&gt;
Hope this helps/works.</description>
      <pubDate>Fri, 25 Apr 2014 18:59:38 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/glob-ui-button/m-p/160496#M12636</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-25T18:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: glob_ui_button</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/glob-ui-button/m-p/160497#M12637</link>
      <description>Thank you very mutch MR.Vesen. &lt;BR /&gt;
Now with your help, it works fine. &lt;BR /&gt;
Once again thank you.</description>
      <pubDate>Sat, 26 Apr 2014 07:49:32 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/glob-ui-button/m-p/160497#M12637</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-26T07:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: glob_ui_button</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/glob-ui-button/m-p/160498#M12638</link>
      <description>What about if i want the same button to turn it off?</description>
      <pubDate>Sat, 26 Apr 2014 16:50:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/glob-ui-button/m-p/160498#M12638</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-26T16:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: glob_ui_button</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/glob-ui-button/m-p/160499#M12639</link>
      <description>Hi,&lt;BR /&gt;
try a boolean variable in the interface script and an if..then..else.. in the master.</description>
      <pubDate>Sun, 04 May 2014 08:09:38 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/glob-ui-button/m-p/160499#M12639</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-04T08:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: glob_ui_button</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/glob-ui-button/m-p/160500#M12640</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
This might work (not tested);
&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;if glob_ui_button_id=1 then 
    alu= not(alu)
    parameters alu= alu
endif
&lt;/PRE&gt;

This should work;
&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;if glob_ui_button_id=1 then
    if alu= 1 then
        alu= 0
    else
        alu= 1
    endif
    parameters alu= alu
endif&lt;/PRE&gt;</description>
      <pubDate>Sun, 04 May 2014 17:44:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/glob-ui-button/m-p/160500#M12640</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-04T17:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: glob_ui_button</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/glob-ui-button/m-p/160501#M12641</link>
      <description>Juha solution: smarter and shorter. Good point, thanks</description>
      <pubDate>Mon, 05 May 2014 06:12:54 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/glob-ui-button/m-p/160501#M12641</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-05T06:12:54Z</dc:date>
    </item>
  </channel>
</rss>

