<?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 : [CLOSE]: AllowColumnRemove(FALSE) has no effect</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : [CLOSE]: AllowColumnRemove(FALSE) has no effect]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 30 May 2026 04:11:21 +0000</pubDate>
  <lastBuildDate>Wed, 26 Nov 2008 11:11:20 +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=12804</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[[CLOSE]: AllowColumnRemove(FALSE) has no effect : Hi;My fault: I forgot to remove...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12804&amp;PID=43223&amp;title=close-allowcolumnremovefalse-has-no-effect#43223</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 12804<br /><strong>Posted:</strong> 26 November 2008 at 11:11am<br /><br />Hi;<br>My fault: I forgot to remove the XML property file after setting AllowColumnRemove(FALSE)<br>]]>
   </description>
   <pubDate>Wed, 26 Nov 2008 11:11:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12804&amp;PID=43223&amp;title=close-allowcolumnremovefalse-has-no-effect#43223</guid>
  </item> 
  <item>
   <title><![CDATA[[CLOSE]: AllowColumnRemove(FALSE) has no effect :  Hi;I created a report control...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12804&amp;PID=43222&amp;title=close-allowcolumnremovefalse-has-no-effect#43222</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 12804<br /><strong>Posted:</strong> 26 November 2008 at 11:05am<br /><br />Hi;<br>I created a report control and set it up as shown below:<br><br><table width="99%"><tr><td><pre class="BBcode">bool CXRReportSchedulerReportCtrl::SetupControl() {<br>&nbsp;&nbsp;&nbsp; CString strCaption;<br><br>&nbsp;&nbsp;&nbsp; ShowGroupBy(FALSE);<br>&nbsp;<font color="#ff0000"><b>&nbsp;&nbsp; GetReportHeader()-&gt;AllowColumnRemove(FALSE);<br>&nbsp;&nbsp;&nbsp; GetReportHeader()-&gt;AllowColumnReorder(FALSE);</b></font><br><br>&nbsp;&nbsp;&nbsp; ASSERT(GetColumns()-&gt;GetCount()==0);<br><br>&nbsp;&nbsp;&nbsp; // Active-Flag (Index 0 as Icon)<br>&nbsp;&nbsp;&nbsp; CXTPReportColumn* pColumn=AddColumn(new CXTPReportColumn(0, strCaption, 20, FALSE, XTP_REPORT_NOICON, FALSE));<br>&nbsp;&nbsp;&nbsp; ASSERT(pColumn!=0);<br>&nbsp;&nbsp;&nbsp; pColumn-&gt;SetGroupable(FALSE);<br><br>&nbsp;&nbsp;&nbsp; // Description<br>&nbsp;<br>&nbsp;&nbsp;&nbsp; pColumn=AddColumn(new CXTPReportColumn(1, _T("Bezeichnung")/*strCaption*/, 200));<br>&nbsp;&nbsp;&nbsp; ASSERT(pColumn!=0);<br>&nbsp;&nbsp;&nbsp; pColumn-&gt;SetGroupable(FALSE);<br><br>&nbsp;&nbsp;&nbsp; // Typ<br>&nbsp;&nbsp;&nbsp; pColumn=AddColumn(new CXTPReportColumn(2, _T("Zeitplantyp")/*strCaption*/, 100));<br>&nbsp;&nbsp;&nbsp; ASSERT(pColumn!=0);<br>&nbsp;&nbsp;&nbsp; pColumn-&gt;SetGroupable(FALSE);<br><br>&nbsp;&nbsp;&nbsp; pColumn=AddColumn(new CXTPReportColumn(3, _T("Startzeitpunkt")/*strCaption*/, 100));<br>&nbsp;&nbsp;&nbsp; ASSERT(pColumn!=0);<br>&nbsp;&nbsp;&nbsp; pColumn-&gt;SetGroupable(FALSE);<br><br>&nbsp;&nbsp;&nbsp; GetPaintManager()-&gt;SetColumnStyle(xtpReportColumnExplorer);<br>&nbsp;&nbsp;&nbsp; GetPaintManager()-&gt;SetGridStyle(TRUE, xtpReportGridNoLines);<br><br>&nbsp;&nbsp;&nbsp; FocusSubItems(FALSE);<br><br>&nbsp;&nbsp;&nbsp; VERIFY(images_.Create(16,16, ILC_COLOR32|ILC_MASK, 0, 1));<br>&nbsp;&nbsp;&nbsp; CBitmap bmp;<br>&nbsp;&nbsp;&nbsp; VERIFY(bmp.LoadBitmap(IDB_SCHEDULER_REPORT_ITEMS));<br>&nbsp;&nbsp;&nbsp; images_.Add(&amp;bmp, RGB(255, 255, 255));<br>&nbsp;&nbsp;&nbsp; SetImageList(&amp;images_);<br><br>&nbsp;&nbsp;&nbsp; return true;<br><br>}</pre></td></tr></table><br><br>After that I'm able to remove columns by mouse dragging. What's going on here? I checked whether AllowColumnRemove() will be called elsewhere, but this isn't the case...<br><br>So what did I miss?<br>]]>
   </description>
   <pubDate>Wed, 26 Nov 2008 11:05:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12804&amp;PID=43222&amp;title=close-allowcolumnremovefalse-has-no-effect#43222</guid>
  </item> 
 </channel>
</rss>