<?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 : About ReportControl cannot edit&amp;#65307;</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : About ReportControl cannot edit&amp;#65307;]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 18 Apr 2026 18:34:34 +0000</pubDate>
  <lastBuildDate>Mon, 03 Aug 2009 16:25:47 +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=14846</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[About ReportControl cannot edit&amp;#65307; : Get fresh upgrade please https...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14846&amp;PID=51554&amp;title=about-reportcontrol-cannot-edit65307#51554</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 14846<br /><strong>Posted:</strong> 03 August 2009 at 4:25pm<br /><br />Get fresh upgrade please <a href="https://forum.codejock.com/uploads/DemoVersi&#111;n/ReportC&#111;ntrolMFCUpdated.rar" target="_blank">https://forum.codejock.com/uploads/DemoVersion/ReportControlMFCUpdated.rar</A><DIV></DIV>Little change for in-place combo case &#091;double click and EditOnClick = FALSE combination&#093;]]>
   </description>
   <pubDate>Mon, 03 Aug 2009 16:25:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14846&amp;PID=51554&amp;title=about-reportcontrol-cannot-edit65307#51554</guid>
  </item> 
  <item>
   <title><![CDATA[About ReportControl cannot edit&amp;#65307; : You don&amp;#039;t need to set pCol-&amp;gt;SetEditable(TRUE);...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14846&amp;PID=51431&amp;title=about-reportcontrol-cannot-edit65307#51431</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 14846<br /><strong>Posted:</strong> 29 July 2009 at 9:46am<br /><br /><P>You don't need to set pCol-&gt;SetEditable(TRUE); (this is default)</P><P>but you need to call <FONT color=#008000 size=2><FONT color=#000000>wndReport.FocusSubItems(TRUE); (default is FALSE)</FONT></P></FONT><P>&nbsp;Also check Sample Files:<FONT color=#000000> </FONT><FONT size=2><FONT color=#000000>"MessageRecord.h" and "MessageRecord.cpp"</FONT></P><DIV><FONT color=#000000></FONT></DIV><FONT color=#000000>You will find how it set to use different types of ReportRecordItem</FONT></FONT><FONT color=#000000> <DIV></DIV><FONT size=2><P>You can use CXTPReportRecordItem but only for display. If you need editable cell - use derived classes:</P><DIV><FONT size=2><P>CXTPReportRecordItemText and similar. (Consider this as analog to CStatic, CEdit and so on)</FONT></P></FONT></DIV></FONT>]]>
   </description>
   <pubDate>Wed, 29 Jul 2009 09:46:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14846&amp;PID=51431&amp;title=about-reportcontrol-cannot-edit65307#51431</guid>
  </item> 
  <item>
   <title><![CDATA[About ReportControl cannot edit&amp;#65307; : Thanks for you anttention! I...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14846&amp;PID=51409&amp;title=about-reportcontrol-cannot-edit65307#51409</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5420">lyl0625</a><br /><strong>Subject:</strong> 14846<br /><strong>Posted:</strong> 28 July 2009 at 8:51pm<br /><br /><strong>Thanks for you anttention!<DIV></strong>I create the ReportRecordItem behind ,but I just cannot edit it.</DIV><DIV>this is my code,for example:</DIV><DIV>&nbsp;</DIV><DIV>CXTPReportControl&amp; wndReportCtrl = GetReportCtrl();</DIV><DIV>&nbsp;CXTPReportRecord&nbsp; *m_Record = new CMobileInfoReportRecord(1, "1","1","1");<BR>&nbsp;wndReportCtrl.AddRecord(m_Record);</DIV><DIV>&nbsp;m_Record=new CMobileInfoReportRecord(2,"liaoyanli","040411008","mail");<BR>&nbsp;wndReportCtrl.AddRecord(m_Record);</DIV>]]>
   </description>
   <pubDate>Tue, 28 Jul 2009 20:51:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14846&amp;PID=51409&amp;title=about-reportcontrol-cannot-edit65307#51409</guid>
  </item> 
  <item>
   <title><![CDATA[About ReportControl cannot edit&amp;#65307; : I guess it means there is no ReportRecordItem...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14846&amp;PID=51396&amp;title=about-reportcontrol-cannot-edit65307#51396</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 14846<br /><strong>Posted:</strong> 28 July 2009 at 11:31am<br /><br />I guess it means there is no ReportRecordItem behind. How you create your records and items?]]>
   </description>
   <pubDate>Tue, 28 Jul 2009 11:31:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14846&amp;PID=51396&amp;title=about-reportcontrol-cannot-edit65307#51396</guid>
  </item> 
  <item>
   <title><![CDATA[About ReportControl cannot edit&amp;#65307; : have a report control in a CXTPReportView,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14846&amp;PID=51388&amp;title=about-reportcontrol-cannot-edit65307#51388</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5420">lyl0625</a><br /><strong>Subject:</strong> 14846<br /><strong>Posted:</strong> 28 July 2009 at 3:32am<br /><br />&nbsp;have a report control in a CXTPReportView, <DIV>&nbsp;</DIV><DIV><FONT size=2><P>pCol-&gt;SetEditable(TRUE);</FONT></P></DIV><DIV><FONT size=2><P>m_Report.AllowEdit(TRUE);</P><DIV>m_Report.Populate();</DIV></FONT></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;<img src="http://forum.codejock.com/smileys/smiley19.gif" border="0"></DIV><DIV>But, when I click on a cell, it looks like it starts to edit, but when I press a key I always get an exception here:</DIV><DIV>&nbsp;</DIV><DIV>void<FONT size=2> CXTPReportInplaceEdit::OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags)</DIV><P>{</P><P>CXTPReportControl* _pControl = pControl;</P><P>ASSERT(_pControl);</P><DIV>Because pControl is NULL</DIV><DIV>&nbsp;</DIV><DIV><DIV></DIV><DIV></DIV>I don't know what's going on?</DIV><DIV>&nbsp;</DIV></FONT>]]>
   </description>
   <pubDate>Tue, 28 Jul 2009 03:32:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14846&amp;PID=51388&amp;title=about-reportcontrol-cannot-edit65307#51388</guid>
  </item> 
 </channel>
</rss>