<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Losing ComboBox Button After SetIconIndex</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Losing ComboBox Button After SetIconIndex]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 17:10:01 +0000</pubDate>
  <lastBuildDate>Thu, 28 Feb 2019 20:05:28 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=23823</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Losing ComboBox Button After SetIconIndex : Hi,I&amp;#039;ve derived my own RecordItem...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23823&amp;PID=77274&amp;title=losing-combobox-button-after-seticonindex#77274</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9335">jslmsca</a><br /><strong>Subject:</strong> 23823<br /><strong>Posted:</strong> 28 February 2019 at 8:05pm<br /><br /><div>Hi,</div><div><br></div><div>I've derived my own RecordItem from CXTPReportRecordItemText.&nbsp; I create the ReportControl and populate the rows.&nbsp; I call AddComboButton(TRUE) on each item's EditOptions.&nbsp; If I set an icon index at this point, the icon is displayed along with the combo button.<br></div><div><br></div><div>However, I do not want the icons to be displayed until an active action by the user on my dialog.&nbsp; I've trapped the click notification through XTP_REPORTRECORDITEM_CLICKARGS at which point I call RecordItem-&gt;SetIconIndex.&nbsp; The icon is displayed but I've lost the combo button.</div><div><br></div><div>I've tried redrawing the control and calling AddComboButton again in various places but without success.&nbsp; I'm at a loss as to what might be happening.&nbsp; The parent dialog is successfully receiving the notification XTP_NM_REPORT_VALUECHANGED and the underlying content seems fine.</div><div><br></div><div>Any ideas are appreciated.&nbsp; Thanks.<br></div>]]>
   </description>
   <pubDate>Thu, 28 Feb 2019 20:05:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23823&amp;PID=77274&amp;title=losing-combobox-button-after-seticonindex#77274</guid>
  </item> 
 </channel>
</rss>