<?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: Dynamic text on a Modeless Palette? in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Dynamic-text-on-a-Modeless-Palette/m-p/323189#M1904</link>
    <description>&lt;P&gt;Yes this should be possible. I assume you are using a Static Text Item correct?&lt;BR /&gt;Depending on whether you use the C++ or C style Dialog Items, one of the following should work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;// C++ Style
DG::StaticText yourTextItem (panelReference, yourTextItemID),
yourTextItem.SetText ("New text");

// C Style
DGSetItemText (dialogID, yourTextItemID, "New text");&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edit: Minor fix in code example&lt;/P&gt;</description>
    <pubDate>Thu, 16 Dec 2021 09:27:25 GMT</pubDate>
    <dc:creator>BerndSchwarzenbacher</dc:creator>
    <dc:date>2021-12-16T09:27:25Z</dc:date>
    <item>
      <title>Dynamic text on a Modeless Palette?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Dynamic-text-on-a-Modeless-Palette/m-p/323033#M1903</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i was thinking if this is possible? I successfully invoked a floating palette (modeless palette) and placed some placeholder texts on it (see image). Is it possible, if i am selecting a placed object (GDL object), to write the parameters of the object on the palette? For example: number of selections, guids, typeID s etc..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/16959i7C5C4BE194597B8A/image-size/large?v=v2&amp;amp;px=999" border="0" alt="floating_palette.jpg" title="floating_palette.jpg" /&gt;</description>
      <pubDate>Wed, 24 Nov 2021 14:00:26 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Dynamic-text-on-a-Modeless-Palette/m-p/323033#M1903</guid>
      <dc:creator>Csanyi Bence</dc:creator>
      <dc:date>2021-11-24T14:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic text on a Modeless Palette?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Dynamic-text-on-a-Modeless-Palette/m-p/323189#M1904</link>
      <description>&lt;P&gt;Yes this should be possible. I assume you are using a Static Text Item correct?&lt;BR /&gt;Depending on whether you use the C++ or C style Dialog Items, one of the following should work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;// C++ Style
DG::StaticText yourTextItem (panelReference, yourTextItemID),
yourTextItem.SetText ("New text");

// C Style
DGSetItemText (dialogID, yourTextItemID, "New text");&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edit: Minor fix in code example&lt;/P&gt;</description>
      <pubDate>Thu, 16 Dec 2021 09:27:25 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Dynamic-text-on-a-Modeless-Palette/m-p/323189#M1904</guid>
      <dc:creator>BerndSchwarzenbacher</dc:creator>
      <dc:date>2021-12-16T09:27:25Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic text on a Modeless Palette?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Dynamic-text-on-a-Modeless-Palette/m-p/324008#M1905</link>
      <description>&lt;P&gt;thanks a lot! it's working!&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2021 13:37:26 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Dynamic-text-on-a-Modeless-Palette/m-p/324008#M1905</guid>
      <dc:creator>Csanyi Bence</dc:creator>
      <dc:date>2021-12-02T13:37:26Z</dc:date>
    </item>
  </channel>
</rss>

