<?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 : [solved] SetCaption Called too Early</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : [solved] SetCaption Called too Early]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 00:29:35 +0000</pubDate>
  <lastBuildDate>Tue, 07 Mar 2017 10:35:31 +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=23283</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[[solved] SetCaption Called too Early : Hello cpede,It is reasonable remark,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23283&amp;PID=75602&amp;title=solved-setcaption-called-too-early#75602</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 23283<br /><strong>Posted:</strong> 07 March 2017 at 10:35am<br /><br />Hello cpede,<br><br>It is reasonable remark, I have added additional verification of&nbsp;<span style="line-height: 16.8px; : rgb248, 248, 252;">m_pColumns in all methods for safety.<br>But you should remember that calling most of methods of&nbsp;</span><span style="font-family: &quot;Courier New&quot;, Courier, mono; line-height: 16.8px; white-space: pre; : rgb248, 248, 252;">CXTPReportColumn don't have any effect when column isn't linked to ReportControl.Thank you. Oleksandr Lebed</span>]]>
   </description>
   <pubDate>Tue, 07 Mar 2017 10:35:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23283&amp;PID=75602&amp;title=solved-setcaption-called-too-early#75602</guid>
  </item> 
  <item>
   <title><![CDATA[[solved] SetCaption Called too Early : During creation of the columns...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23283&amp;PID=75600&amp;title=solved-setcaption-called-too-early#75600</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=686">cpede</a><br /><strong>Subject:</strong> 23283<br /><strong>Posted:</strong> 07 March 2017 at 5:02am<br /><br />During creation of the columns in a report control you have code like this:<div><br></div><div><table width="99%"><tr><td><pre class="BBcode"></div><div><div>CXTPReportColumn *pCol =&nbsp;new CXTPReportColumn(0, _T("My Column"), 80);</div></div><div></pre></td></tr></table></div><div><br></div><div>It seems, that calling SetCaption right after pCol is created is not allowed, since m_pColumns is not defined yet in the&nbsp;CXTPReportColumn class.</div><div><br></div><div>You should test for m_pColumns == NULL in CXTPReportColumn, and allow for e.g. SetCaption.</div><div><br></div><div>-cpede</div>]]>
   </description>
   <pubDate>Tue, 07 Mar 2017 05:02:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23283&amp;PID=75600&amp;title=solved-setcaption-called-too-early#75600</guid>
  </item> 
 </channel>
</rss>