<?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: Can’t get the checked radiobutton in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Can-t-get-the-checked-radiobutton/m-p/252193#M3082</link>
    <description>I think it was a syntax mistake. Tried from scratch again and got it working. I think that maybe not using capital letter for my const short checkbox somehow made it stop working..&lt;BR /&gt;
Also, when using DGGetItemValLong it worked when I uses dialogID but not when used DG_TOP_MODAL&lt;BR /&gt;
&lt;BR /&gt;
Thanks everyone! &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;</description>
    <pubDate>Mon, 07 Oct 2019 20:55:49 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-10-07T20:55:49Z</dc:date>
    <item>
      <title>Can’t get the checked radiobutton</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Can-t-get-the-checked-radiobutton/m-p/252185#M3074</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Hey,&lt;BR /&gt;&lt;BR /&gt;I have 3 radio buttons in the same group. In the palette they look good - I can switch between them and the previous checked RadioButton will become unchecked..&lt;BR /&gt;But in the code I can’t get or change the status of them. DGselectradio doesn’t work.. also when trying to get the current checked radiobutton I always get 0 (with DGgetcheckedtadio or DGgetitemvallong).&lt;BR /&gt;Maybe there was a define or another function I should have called?&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;/DIV&gt;</description>
      <pubDate>Thu, 06 Oct 2022 11:19:04 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Can-t-get-the-checked-radiobutton/m-p/252185#M3074</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-06T11:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: Can’t get the checked radiobutton</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Can-t-get-the-checked-radiobutton/m-p/252186#M3075</link>
      <description>Sorry - wrong post</description>
      <pubDate>Tue, 03 Sep 2019 13:13:44 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Can-t-get-the-checked-radiobutton/m-p/252186#M3075</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-03T13:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: Can’t get the checked radiobutton</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Can-t-get-the-checked-radiobutton/m-p/252187#M3076</link>
      <description>Are you passing the ID of the radio group to &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;DGGetCheckedRadio&lt;E&gt;&lt;/E&gt; (as opposed to a control index)?</description>
      <pubDate>Tue, 03 Sep 2019 14:31:36 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Can-t-get-the-checked-radiobutton/m-p/252187#M3076</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2019-09-03T14:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: Can’t get the checked radiobutton</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Can-t-get-the-checked-radiobutton/m-p/252188#M3077</link>
      <description>&lt;BLOCKQUOTE&gt;Ralph wrote:&lt;BR /&gt;
Are you passing the ID of the radio group to &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;DGGetCheckedRadio&lt;E&gt;&lt;/E&gt; (as opposed to a control index)?
&lt;/BLOCKQUOTE&gt;

Yep. I set the ID of the group to 1 (and it’s working, the check is switched when checking between different radio buttons). And I’m passing 1 and it doesn’t work &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_sad.gif" style="display : inline;" /&gt;</description>
      <pubDate>Tue, 03 Sep 2019 20:14:05 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Can-t-get-the-checked-radiobutton/m-p/252188#M3077</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-03T20:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: Can’t get the checked radiobutton</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Can-t-get-the-checked-radiobutton/m-p/252189#M3078</link>
      <description>I am ganerally unable to get the value of radiobuttons or slider bars.. if I try to use dggetvallong I always get 0..</description>
      <pubDate>Wed, 04 Sep 2019 09:29:23 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Can-t-get-the-checked-radiobutton/m-p/252189#M3078</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-04T09:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: Can’t get the checked radiobutton</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Can-t-get-the-checked-radiobutton/m-p/252190#M3079</link>
      <description>&lt;BLOCKQUOTE&gt;Tomer1 wrote:&lt;BR /&gt;
I am ganerally unable to get the value of radiobuttons or slider bars.. if I try to use dggetvallong I always get 0..
&lt;/BLOCKQUOTE&gt;

Does anyone have an idea?..</description>
      <pubDate>Tue, 24 Sep 2019 10:35:32 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Can-t-get-the-checked-radiobutton/m-p/252190#M3079</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-24T10:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: Can’t get the checked radiobutton</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Can-t-get-the-checked-radiobutton/m-p/252191#M3080</link>
      <description>I can only say that it's working normally for us. If you post some source code, it might be possible to spot a reason for it not working in this case.</description>
      <pubDate>Tue, 24 Sep 2019 10:45:00 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Can-t-get-the-checked-radiobutton/m-p/252191#M3080</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2019-09-24T10:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: Can’t get the checked radiobutton</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Can-t-get-the-checked-radiobutton/m-p/252192#M3081</link>
      <description>&lt;BLOCKQUOTE&gt;Tomer1 wrote:&lt;BR /&gt;
Hey,&lt;BR /&gt;
&lt;BR /&gt;
I have 3 radio buttons in the same group. In the palette they look good - I can switch between them and the previous checked RadioButton will become unchecked..&lt;BR /&gt;
But in the code I can’t get or change the status of them. DGselectradio doesn’t work.. also when trying to get the current checked radiobutton I always get 0 (with DGgetcheckedtadio or DGgetitemvallong).&lt;BR /&gt;
Maybe there was a define or another function I should have called?&lt;BR /&gt;
&lt;BR /&gt;
Thanks!
&lt;/BLOCKQUOTE&gt;

Could you please post some of your code here? Also, have you tried to use the C++ interface of DG?&lt;BR /&gt;
&lt;BR /&gt;
Best, Akos</description>
      <pubDate>Wed, 02 Oct 2019 18:14:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Can-t-get-the-checked-radiobutton/m-p/252192#M3081</guid>
      <dc:creator>Akos Somorjai</dc:creator>
      <dc:date>2019-10-02T18:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: Can’t get the checked radiobutton</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Can-t-get-the-checked-radiobutton/m-p/252193#M3082</link>
      <description>I think it was a syntax mistake. Tried from scratch again and got it working. I think that maybe not using capital letter for my const short checkbox somehow made it stop working..&lt;BR /&gt;
Also, when using DGGetItemValLong it worked when I uses dialogID but not when used DG_TOP_MODAL&lt;BR /&gt;
&lt;BR /&gt;
Thanks everyone! &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;</description>
      <pubDate>Mon, 07 Oct 2019 20:55:49 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Can-t-get-the-checked-radiobutton/m-p/252193#M3082</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-07T20:55:49Z</dc:date>
    </item>
  </channel>
</rss>

