<?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 : CXTPReportC&#111;ntrol edit mode</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : CXTPReportC&#111;ntrol edit mode]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 11 Jun 2026 21:49:56 +0000</pubDate>
  <lastBuildDate>Sun, 26 Mar 2006 23:34:07 +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=3862</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[CXTPReportC&#111;ntrol edit mode : void CXTPReportInplaceEdit::Cr...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3862&amp;PID=11745&amp;title=cxtpreportcontrol-edit-mode#11745</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1876">dmitklg</a><br /><strong>Subject:</strong> 3862<br /><strong>Posted:</strong> 26 March 2006 at 11:34pm<br /><br />void CXTPReportInplaceEdit::Create(XTP_REPORTRECORDITEM_ARGS* pItemArgs)<br>{<br>&nbsp;&nbsp; &nbsp;SetItemArgs(pItemArgs);<br>&nbsp;&nbsp; &nbsp;m_pSelectedConstraint = NULL;<br><br>&nbsp;&nbsp; &nbsp;XTP_REPORTRECORDITEM_METRICS metrics;<br>&nbsp;&nbsp; &nbsp;metrics.strText = pItem-&gt;GetCaption(pColumn);<br>&nbsp;&nbsp; &nbsp;pItemArgs-&gt;pRow-&gt;FillMetrics(pColumn, pItem, &amp;metrics);<br><br>&nbsp;&nbsp; &nbsp;CRect rect = pItemArgs-&gt;rcItem; &lt;&lt;&lt;&lt; <br><br>rect = (39,0,235,0)<br>whi&nbsp; is it?<br>]]>
   </description>
   <pubDate>Sun, 26 Mar 2006 23:34:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3862&amp;PID=11745&amp;title=cxtpreportcontrol-edit-mode#11745</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPReportC&#111;ntrol edit mode :  i test this code but it don&amp;#039;t...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3862&amp;PID=11744&amp;title=cxtpreportcontrol-edit-mode#11744</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1876">dmitklg</a><br /><strong>Subject:</strong> 3862<br /><strong>Posted:</strong> 26 March 2006 at 11:26pm<br /><br />i test this code but it don't work<br><br>InplaceEdit not visible<br><br>&nbsp;&nbsp;&nbsp; m_wndReport.SetFocus();<br>&nbsp;&nbsp; &nbsp;CXTPReportRecord* pRecord = m_wndReport.AddRecord(new CXTPReportRecord());<br>&nbsp;&nbsp; &nbsp;pRecord-&gt;AddItem(new CXTPReportRecordItemNumber(0,"&gt;") );<br>&nbsp;&nbsp; &nbsp;pRecord-&gt;AddItem(new CXTPReportRecordItemText("new line"));<br>&nbsp;&nbsp; &nbsp;m_wndReport.Populate();<br><br>&nbsp;&nbsp; &nbsp;CXTPReportRow * pRow = m_wndReport.GetRows()-&gt;Find(pRecord);<br>&nbsp;&nbsp; &nbsp;if (pRow) {<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;m_wndReport.SetFocusedRow(pRow);<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;XTP_REPORTRECORDITEM_ARGS args(&amp;m_wndReport, pRow, m_wndReport.GetColumns()-&gt;GetAt(1));<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;m_wndReport.EditItem(&amp;args);<br>&nbsp;&nbsp; &nbsp;}]]>
   </description>
   <pubDate>Sun, 26 Mar 2006 23:26:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3862&amp;PID=11744&amp;title=cxtpreportcontrol-edit-mode#11744</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPReportC&#111;ntrol edit mode : ps: just change your if() to following: ...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3862&amp;PID=11694&amp;title=cxtpreportcontrol-edit-mode#11694</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 3862<br /><strong>Posted:</strong> 24 March 2006 at 7:54am<br /><br />ps: just change your if() to following:<br><table width="99%"><tr><td><pre class="BBcode"><br>&nbsp;&nbsp;&nbsp; XTP_REPORTRECORDITEM_ARGS args(&amp;m_wndReport, pRow, m_wndReport.GetColumns()-&gt;GetAt(1));<br>&nbsp;&nbsp;&nbsp; m_wndReport.EditItem(&amp;args);<br></pre></td></tr></table><br>]]>
   </description>
   <pubDate>Fri, 24 Mar 2006 07:54:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3862&amp;PID=11694&amp;title=cxtpreportcontrol-edit-mode#11694</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPReportC&#111;ntrol edit mode : Hi,Instead of direct use of inplace...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3862&amp;PID=11693&amp;title=cxtpreportcontrol-edit-mode#11693</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 3862<br /><strong>Posted:</strong> 24 March 2006 at 7:49am<br /><br />Hi,<br><br>Instead of direct use of inplace edit control there you'd better call CXTPReportControl::EditItem()<br><br>--<br>WBR,<br>Serge<br>]]>
   </description>
   <pubDate>Fri, 24 Mar 2006 07:49:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3862&amp;PID=11693&amp;title=cxtpreportcontrol-edit-mode#11693</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPReportC&#111;ntrol edit mode :  How can I edit the label of...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3862&amp;PID=11691&amp;title=cxtpreportcontrol-edit-mode#11691</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1876">dmitklg</a><br /><strong>Subject:</strong> 3862<br /><strong>Posted:</strong> 24 March 2006 at 5:40am<br /><br /><p style="margin: 5pt 0cm;"><span style="font-size: 10pt; font-family: Arial;" lang="ES">How can I edit the label of the new CXTPReportRecordItem? (using code, not by user action).</span></p><p style="margin: 5pt 0cm;"><span style="font-size: 10pt; font-family: Arial;" lang="ES"></span>&nbsp;</p><p style="margin: 5pt 0cm;"><span style="font-size: 10pt; font-family: Arial;" lang="ES">The new row must be visible, selected and the first cell must be in edit mode, so the user can change the text.</span></p><br><br>my code don't work<br>&nbsp;&nbsp;&nbsp; CXTPReportRow * pRow =  m_wndReport.GetRows()-&gt;GetAt(m_wndReport.GetRows()-&gt;Ge tCount()- 1);<br>&nbsp;&nbsp;&nbsp; m_wndReport.EnsureVisible(pRow);<br>&nbsp;&nbsp;&nbsp; m_wndReport.GetSelectedRows()-&gt;Select(pRow);<br>&nbsp;&nbsp;&nbsp; m_wndReport.SetFocusedRow(pRow);<br>&nbsp;&nbsp;&nbsp; CRect rc;<br>&nbsp;&nbsp;&nbsp; CXTPReportRow * pRow = m_wndReport.GetFocusedRow();&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; if (pRow) {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CXTPReportRecordItemText * pName = (CXTPReportRecordItemText *)pRow-&gt;GetRecord()-&gt;GetItem(1);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; rc = pRow-&gt;GetItemRect(pName);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pRow-&gt;OnDblClick(rc.TopLeft());<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CXTPReportInplaceEdit* pEdit = pRow-&gt;GetControl()-&gt;GetInplaceEdit();<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pEdit-&gt;SetSel(0,-1);<br>&nbsp;&nbsp;&nbsp; }<br>]]>
   </description>
   <pubDate>Fri, 24 Mar 2006 05:40:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3862&amp;PID=11691&amp;title=cxtpreportcontrol-edit-mode#11691</guid>
  </item> 
 </channel>
</rss>