<?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 : how to edit in-place button item</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : how to edit in-place button item]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 18 Apr 2026 07:24:45 +0000</pubDate>
  <lastBuildDate>Thu, 03 Apr 2008 02:26:36 +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=10053</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[how to edit in-place button item : I inherit the class CXTPReportRecordItem...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10053&amp;PID=32999&amp;title=how-to-edit-inplace-button-item#32999</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3700">juwei</a><br /><strong>Subject:</strong> 10053<br /><strong>Posted:</strong> 03 April 2008 at 2:26am<br /><br /><P>I inherit the class CXTPReportRecordItem in order to realize&nbsp; in-place button. But&nbsp; how do I edit this item?</P><DIV>class CReportButtonItem:public CXTPReportRecordItem<BR>{<BR>public:<BR>&nbsp;CReportButtonItem(CString str_TemplateName)<BR>&nbsp;{<BR>&nbsp;&nbsp;GetEditOptions(NULL)-&gt;m_bConstraintEdit = TRUE;<BR>&nbsp;&nbsp;GetEditOptions(NULL)-&gt;AddConstraint(_T(str_TemplateName), 0);<BR>&nbsp;&nbsp;GetEditOptions(NULL)-&gt;AddExpandButton();<BR>&nbsp;}</DIV><DIV>&nbsp;CString GetCaption(CXTPReportColumn* /*pColumn*/)<BR>&nbsp;{<BR>&nbsp;&nbsp;int i = 0;<BR>&nbsp;&nbsp;CXTPReportRecordItemConstraint* pConstraint = GetEditOptions(NULL)-&gt;FindConstraint(i);<BR>&nbsp;&nbsp;ASSERT(pConstraint);<BR>&nbsp;&nbsp;return pConstraint-&gt;m_strConstraint;<BR>&nbsp;}</DIV><DIV>&nbsp;virtual void OnInplaceButtonDown(CXTPReportInplaceButton* pButton)<BR>&nbsp;{<BR>&nbsp;}</DIV><DIV>}</DIV>]]>
   </description>
   <pubDate>Thu, 03 Apr 2008 02:26:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10053&amp;PID=32999&amp;title=how-to-edit-inplace-button-item#32999</guid>
  </item> 
 </channel>
</rss>