<?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 : Expand button and edit control.</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Expand button and edit control.]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 18 Apr 2026 12:44:40 +0000</pubDate>
  <lastBuildDate>Fri, 03 Apr 2009 00:13:09 +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=13439</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[Expand button and edit control. : In 13.1 I modified functions  ...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13439&amp;PID=47526&amp;title=expand-button-and-edit-control#47526</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 13439<br /><strong>Posted:</strong> 03 April 2009 at 12:13am<br /><br />In 13.1 I modified functions <DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>GetEditOptions()-&gt;AddComboButton(TRUE); //default FALSE - means&nbsp;not Set Inside Cell, TRUE - Set Inside Cell<FONT size=2></DIV><P>GetEditOptions()-&gt;AddSpinButton(TRUE); //same thing</P></FONT></FONT>]]>
   </description>
   <pubDate>Fri, 03 Apr 2009 00:13:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13439&amp;PID=47526&amp;title=expand-button-and-edit-control#47526</guid>
  </item> 
  <item>
   <title><![CDATA[Expand button and edit control. : Thankyou mdoubson for the help....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13439&amp;PID=45917&amp;title=expand-button-and-edit-control#45917</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4978">Sudhakar</a><br /><strong>Subject:</strong> 13439<br /><strong>Posted:</strong> 26 February 2009 at 6:39am<br /><br />Thank&nbsp;you mdoubson for the help. It t works fine, but this is generating <FONT size=2>XTP_NM_REPORT_INPLACEBUTTONDOWN message as soon as I click on the cell&nbsp;that contain this expand button. Hence the dialobox which I am dispalying in this event is being displayed. I&nbsp;would like to display the dialog box only when I click on the expand&nbsp; button. I would like to&nbsp;display button first on the click of cell, then on the click of button I want to show the dialog box(cell should not go into edit mode). Please let me know if you have suggestion.<DIV>&nbsp;</DIV><DIV>Regards,</DIV><DIV>Sudhakar S.&nbsp;&nbsp;</DIV></FONT>]]>
   </description>
   <pubDate>Thu, 26 Feb 2009 06:39:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13439&amp;PID=45917&amp;title=expand-button-and-edit-control#45917</guid>
  </item> 
  <item>
   <title><![CDATA[Expand button and edit control. : Try to SetInplaceCellButton(TRUE)...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13439&amp;PID=45700&amp;title=expand-button-and-edit-control#45700</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 13439<br /><strong>Posted:</strong> 21 February 2009 at 12:11am<br /><br />Try to SetInplaceCellButton(TRUE) make cell size equal button size.<DIV></DIV>Example of setting (ReportSample - TaskListView:<DIV></DIV><FONT color=#0000ff size=2><P>int</FONT><FONT size=2> CTaskListView::OnCreate(LPCREATESTRUCT lpCreateStruct)</P><P>{</P><P></FONT><FONT color=#0000ff size=2>.......................</FONT></P><FONT color=#008000 size=2><P>//HOW TO SET BUTTON INSIDE CELL &lt;&lt;</P></FONT><FONT size=2><P></FONT><FONT color=#0000ff size=2>int</FONT><FONT size=2> iAiB0 = pColumnImportance-&gt;GetEditOptions()-&gt;arrInplaceButtons.GetCount();</P><P>CXTPReportInplaceButton* pBtn0 = pColumnImportance-&gt;GetEditOptions()-&gt;arrInplaceButtons.GetAt(iAiB0 - 1);</P><P>pBtn0-&gt;SetInsideCellButton(TRUE);</P><P></P><P>pColumnDueDate-&gt;GetEditOptions()-&gt;m_bAllowEdit = FALSE;</P><P>pColumnDueDate-&gt;GetEditOptions()-&gt;AddComboButton();</P><P></FONT><FONT color=#0000ff size=2>int</FONT><FONT size=2> iAiB1 = pColumnDueDate-&gt;GetEditOptions()-&gt;arrInplaceButtons.GetCount();</P><P>CXTPReportInplaceButton* pBtn1 = pColumnDueDate-&gt;GetEditOptions()-&gt;arrInplaceButtons.GetAt(iAiB1 - 1);</P><P>pBtn1-&gt;SetInsideCellButton(TRUE);</P><P>pColumnPercent-&gt;GetEditOptions()-&gt;m_bAllowEdit = FALSE;</P><P>pColumnPercent-&gt;GetEditOptions()-&gt;m_bConstraintEdit = TRUE;</P><P>pColumnPercent-&gt;GetEditOptions()-&gt;AddSpinButton();</P><P></FONT><FONT color=#0000ff size=2>int</FONT><FONT size=2> iAiB2 = pColumnPercent-&gt;GetEditOptions()-&gt;arrInplaceButtons.GetCount();</P><P>CXTPReportInplaceButton* pBtn2 = pColumnPercent-&gt;GetEditOptions()-&gt;arrInplaceButtons.GetAt(iAiB2 - 1);</P><P>pBtn2-&gt;SetInsideCellButton(TRUE);</P><P>pBtn2-&gt;SetSpinButtonStep(10);</P></FONT><FONT color=#008000 size=2><P>//HOW TO SET BUTTON INSIDE CELL &gt;&gt;</P></FONT><DIV>...................</DIV><DIV>}</DIV>]]>
   </description>
   <pubDate>Sat, 21 Feb 2009 00:11:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13439&amp;PID=45700&amp;title=expand-button-and-edit-control#45700</guid>
  </item> 
  <item>
   <title><![CDATA[Expand button and edit control. : Hi! How can we show the expand...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13439&amp;PID=45589&amp;title=expand-button-and-edit-control#45589</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4978">Sudhakar</a><br /><strong>Subject:</strong> 13439<br /><strong>Posted:</strong> 18 February 2009 at 7:21am<br /><br /><P>Hi!</P><DIV>How can we show the expand button in the report control cell when the AllowEdit is FALSEl? Or</DIV><DIV>How can I hide the edit control when the AllowEdit is TRUE and just show expand button?</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>My requirement is below:</DIV><DIV>&nbsp;</DIV><DIV>I want to display an expand button in a cell of report control and when&nbsp;this button&nbsp;is pressed, then it&nbsp;invokes a dialog which contains the controls to select line color,style and width. Once the selection of these attributes is done and clicked "OK" button of this dialog, then I want to draw a line in the report control cell with selected color, style and thickness. </DIV><DIV>&nbsp;</DIV><DIV>I am able to show expand button when AllowEdit is TRUE. But this also shows a edit control&nbsp; along with expand button when the cell is clicked. As the result if there is&nbsp;any line drawing in the current cell, then that line is being covered by the edit control. So I want to hide the edit control as it is not necessary in this scenario.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Please provide some suggestions/hints.</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 18 Feb 2009 07:21:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13439&amp;PID=45589&amp;title=expand-button-and-edit-control#45589</guid>
  </item> 
 </channel>
</rss>