<?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 : AddComboButton behaviour</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : AddComboButton behaviour]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 15 May 2026 09:45:34 +0000</pubDate>
  <lastBuildDate>Mon, 27 Oct 2014 16:39:34 +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=18624</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[AddComboButton behaviour : Hi, I just tried 16.4.0. Shoul...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18624&amp;PID=72865&amp;title=addcombobutton-behaviour#72865</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1263">Fredrik</a><br /><strong>Subject:</strong> 18624<br /><strong>Posted:</strong> 27 October 2014 at 4:39pm<br /><br />Hi, I just tried 16.4.0. Shouldn't<div><br></div><div><div><font face="Courier New, Courier, mono">CXTPReportRecordItemEditOptions* CXTPReportRecordItem::GetEditOptions(CXTPReportColumn* pColumn)</font></div><div><font face="Courier New, Courier, mono">{</font></div><div><font face="Courier New, Courier, mono"><span ="Apple-tab-span" style="white-space:pre">	</span>if (m_pEditOptions)</font></div><div><font face="Courier New, Courier, mono"><span ="Apple-tab-span" style="white-space:pre">		</span>return m_pEditOptions;</font></div><div><font face="Courier New, Courier, mono"><br></font></div><div><font face="Courier New, Courier, mono" color="#009900"><span ="Apple-tab-span" style="white-space:pre">	</span>if (pColumn)</font></div><div><font face="Courier New, Courier, mono" color="#009900"><span ="Apple-tab-span" style="white-space:pre">		</span>return pColumn-&gt;GetEditOptions();</font></div><div><font face="Courier New, Courier, mono">...</font></div><div><br></div><div>be</div><div><br></div><div><div><font face="Courier New, Courier, mono">CXTPReportRecordItemEditOptions* CXTPReportRecordItem::GetEditOptions(CXTPReportColumn* pColumn)</font></div><div><font face="Courier New, Courier, mono">{</font></div><div style="line-height: 16.7999992370605px;"><div><font face="Courier New, Courier, mono" color="#009900"><span ="Apple-tab-span" style="white-space: pre;">	</span>if (pColumn)</font></div><div><font face="Courier New, Courier, mono" color="#009900"><span ="Apple-tab-span" style="white-space: pre;">		</span>return pColumn-&gt;GetEditOptions();</font></div></div><div><font face="Courier New, Courier, mono"><br></font></div><div><font face="Courier New, Courier, mono"><span ="Apple-tab-span" style="white-space:pre">	</span>if (m_pEditOptions)</font></div><div><font face="Courier New, Courier, mono"><span ="Apple-tab-span" style="white-space:pre">		</span>return m_pEditOptions;</font></div><div><font face="Courier New, Courier, mono"><br></font></div><div><font face="Courier New, Courier, mono">...</font></div></div><div><br></div><div>?</div><div>Right now I did not get the&nbsp;m_bExpandOnSelect to work without modifying pColumns-&gt;GetEditOptions(nullptr) first (I thought I could just modify the edit options from CXTPReportColumn* given by AddColum()).</div><div><br></div></div><div>But as a solution to my original question, this does not work. I want to expand the the combo box when I click on the combo box arrow (as combo boxes usually work) and be able to enter a new value if I click in the edit field portion of the cell. With&nbsp;<span style="line-height: 16.7999992370605px;">m_bExpandOnSelect</span><span style="line-height: 16.7999992370605px;">&nbsp; set, I cannot enter a new value. So AllowEdit does not work with this flag set.&nbsp;</span></div><div><span style="line-height: 16.7999992370605px;"><br></span></div><div><span style="line-height: 16.7999992370605px;">Regards,&nbsp;</span></div><div><span style="line-height: 16.7999992370605px;">Fredrik</span></div><div><br></div>]]>
   </description>
   <pubDate>Mon, 27 Oct 2014 16:39:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18624&amp;PID=72865&amp;title=addcombobutton-behaviour#72865</guid>
  </item> 
  <item>
   <title><![CDATA[AddComboButton behaviour : Great, thanks Oleksandr.I see...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18624&amp;PID=72833&amp;title=addcombobutton-behaviour#72833</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1263">Fredrik</a><br /><strong>Subject:</strong> 18624<br /><strong>Posted:</strong> 10 October 2014 at 11:35am<br /><br />Great, thanks Oleksandr.&nbsp;<div><br></div><div>I see this option was added in 16.3.1. I will try it out when 16.4.1 is released (hopefully soon ;-)).&nbsp;<div><br></div><div>But I still would like to add it as a wish that a click in the edit field edits the text and a click on the combo box arrow expands the combo box instead of just setting focus to the edit field.</div></div><div><br></div><div>Best regards,</div><div>Fredrik</div>]]>
   </description>
   <pubDate>Fri, 10 Oct 2014 11:35:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18624&amp;PID=72833&amp;title=addcombobutton-behaviour#72833</guid>
  </item> 
  <item>
   <title><![CDATA[AddComboButton behaviour : Hi Fredrik,You can use flag CX...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18624&amp;PID=72818&amp;title=addcombobutton-behaviour#72818</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 18624<br /><strong>Posted:</strong> 06 October 2014 at 11:50am<br /><br />Hi Fredrik,<br><br>You can use flag CXTPReportRecordItemEditOptions::m_bExpandOnSelect&nbsp; (IReportRecordItemEditOptions.ExpandOnSelect) &nbsp;for this purpose. <br><table width="99%"><tr><td><pre class="BBcode">CXTPReportRecordItemEditOptions *pEditOptions = pColumn-&gt;GetEditOptions();<br>&nbsp;	pEditOptions-&gt;m_bExpandOnSelect = TRUE;</pre></td></tr></table><br>But expanding occurs when you click on any part of report cell.<br><br>Regards,<br>&nbsp;Oleksandr Lebed<br>]]>
   </description>
   <pubDate>Mon, 06 Oct 2014 11:50:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18624&amp;PID=72818&amp;title=addcombobutton-behaviour#72818</guid>
  </item> 
  <item>
   <title><![CDATA[AddComboButton behaviour : Hi,I just would like to bump this...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18624&amp;PID=72814&amp;title=addcombobutton-behaviour#72814</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1263">Fredrik</a><br /><strong>Subject:</strong> 18624<br /><strong>Posted:</strong> 06 October 2014 at 7:46am<br /><br /><span style="color: rgb34, 34, 34; font-family: arial; font-size: small; line-height: normal;">Hi,&nbsp;</span><div style="color: rgb34, 34, 34; font-family: arial; font-size: small; line-height: normal;"><br></div><div style="color: rgb34, 34, 34; font-family: arial; font-size: small; line-height: normal;">I just would like to bump this issue since I now have the same problem.&nbsp;</div><div style="color: rgb34, 34, 34; font-family: arial; font-size: small; line-height: normal;"><br></div><div style="color: rgb34, 34, 34; font-family: arial; font-size: small; line-height: normal;">Basically, if I click the arrow on a combo box I'd like the combo box to expand instead of having to click twice (This with the properties m_bShowNonActiveInPlaceButton TRUE and having editable combo box items.)</div><div style="color: rgb34, 34, 34; font-family: arial; font-size: small; line-height: normal;"><br></div><div style="color: rgb34, 34, 34; font-family: arial; font-size: small; line-height: normal;">To reproduce, use ReportSample.exe, click Report Control &gt; &nbsp;Quality assurance &gt; ComboBox. Check the box for "Show non-active inplace buttons". &nbsp;Try clicking the combo box arrows in the two first columns.</div><div style="color: rgb34, 34, 34; font-family: arial; font-size: small; line-height: normal;"><br></div><div style="color: rgb34, 34, 34; font-family: arial; font-size: small; line-height: normal;">Does anyone has a solution/workaround for it?&nbsp;</div><div style="color: rgb34, 34, 34; font-family: arial; font-size: small; line-height: normal;">CodeJock: is this anything that is planned to be fixed?&nbsp;</div><div style="color: rgb34, 34, 34; font-family: arial; font-size: small; line-height: normal;"><br></div><div style="color: rgb34, 34, 34; font-family: arial; font-size: small; line-height: normal;">Cheers,</div>]]>
   </description>
   <pubDate>Mon, 06 Oct 2014 07:46:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18624&amp;PID=72814&amp;title=addcombobutton-behaviour#72814</guid>
  </item> 
  <item>
   <title><![CDATA[AddComboButton behaviour : Hi,  I have a report control...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18624&amp;PID=65134&amp;title=addcombobutton-behaviour#65134</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6884">AlbertoB</a><br /><strong>Subject:</strong> 18624<br /><strong>Posted:</strong> 06 July 2011 at 8:17am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>I have a report control with some cells that are combo boxes.</DIV><DIV>My problem is that&nbsp;it only works&nbsp;to double click the cell to expand de combo options.</DIV><DIV>&nbsp;</DIV><DIV>Is there any property or any way to set the combo cell&nbsp;to expand just with a single click in the combobutton?</DIV><DIV>&nbsp;</DIV><DIV>I got a sample from this thread in the forum</DIV><DIV><a href="http://forum.codejock.com/forum_posts.asp?TID=15588&amp;title=m-bshown&#111;nactiveinplacebutt&#111;n" target="_blank">http://forum.codejock.com/forum_posts.asp?TID=15588&amp;title=m-bshownonactiveinplacebutton</A></DIV><DIV>&nbsp;</DIV><DIV>wich does exactly what I need in the column From.</DIV><DIV>&nbsp;</DIV><DIV>I'm using version 13.4 and the sample is with version 13.2 </DIV><DIV>Could it be a different behaviour in my version?</DIV><DIV>&nbsp;</DIV><DIV>This is a snipet of my code in case it helps</DIV><DIV>&nbsp;</DIV><DIV>grid-&gt;FocusSubItems = VARIANT_TRUE;</DIV><DIV><P>grid-&gt;PaintManager-&gt;ShowNonActiveInPlaceButton = VARIANT_TRUE;</P></DIV><DIV><FONT size=2><P>XRC::IReportRecordItemEditOptionsPtr editOptions= record-&gt;Item&#091;</FONT><FONT color=#ff0000 size=2><FONT color=#ff0000 size=2>1</FONT></FONT><FONT size=2>&#093;-&gt;EditOptions;</P><DIV></FONT><FONT size=2>editOptions-&gt;ConstraintEdit = VARIANT_FALSE;</DIV><P></P><P>editOptions-&gt;Constraints-&gt;Add("Value1", </FONT><FONT color=#ff0000 size=2><FONT color=#ff0000 size=2>0</FONT></FONT><FONT size=2>);</P><P>editOptions-&gt;Constraints-&gt;Add("Value2", </FONT><FONT color=#ff0000 size=2><FONT color=#ff0000 size=2>1</FONT></FONT><FONT size=2>);</P><P>editOptions-&gt;Constraints-&gt;Add("Value3", </FONT><FONT color=#ff0000 size=2><FONT color=#ff0000 size=2>2</FONT></FONT><FONT size=2>); </P><P>editOptions-&gt;AllowEdit = VARIANT_FALSE;</P><P></P><P>editOptions-&gt;AddComboButton(VARIANT_TRUE);</P><P>Any ideas?</FONT></P></DIV><DIV>Thank you.</DIV><DIV>AB.</DIV>]]>
   </description>
   <pubDate>Wed, 06 Jul 2011 08:17:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18624&amp;PID=65134&amp;title=addcombobutton-behaviour#65134</guid>
  </item> 
 </channel>
</rss>