<?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 : Problem with RecordItemControls Removal</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Problem with RecordItemControls Removal]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 02 May 2026 00:46:23 +0000</pubDate>
  <lastBuildDate>Wed, 14 Jul 2010 06:31:53 +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=16948</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[Problem with RecordItemControls Removal : Hi,  I can confirm this is a...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16948&amp;PID=59320&amp;title=problem-with-recorditemcontrols-removal#59320</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 16948<br /><strong>Posted:</strong> 14 July 2010 at 6:31am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>I can confirm this is a bug. At first I thought it would be VB problem but I see it also happen with compiled exe. Not all time but at some point it happens.</DIV><DIV>I will add this to my list</DIV><DIV>&nbsp;</DIV><DIV>Thanks&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 14 Jul 2010 06:31:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16948&amp;PID=59320&amp;title=problem-with-recorditemcontrols-removal#59320</guid>
  </item> 
  <item>
   <title><![CDATA[Problem with RecordItemControls Removal : Hi,   after adding Buttons to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16948&amp;PID=59311&amp;title=problem-with-recorditemcontrols-removal#59311</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6230">coltu</a><br /><strong>Subject:</strong> 16948<br /><strong>Posted:</strong> 13 July 2010 at 11:04am<br /><br />Hi, <br /><br />after adding Buttons to ReportItems, calling populate, and removing the controls afterwards, i get an exception when i move the mouse over the ReportControl.<br /><br />adding the following procedure to the form "frmItemControls" in "Report Control Sample" and calling it reproduces the behaviour every time.<br /><br />Private Sub RemoveAll_Click()<br />&nbsp;&nbsp;&nbsp;&nbsp;Dim i As Long<br />&nbsp;&nbsp;&nbsp;&nbsp;Dim rr As ReportRecord<br />&nbsp;&nbsp;&nbsp;&nbsp;Dim ri As ReportRecordItem<br />&nbsp;&nbsp;&nbsp;&nbsp;For Each rr In wndReportControl.Records<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; For i = 0 To rr.ItemCount - 1<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set ri = rr.Item(i)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ri.ItemControls.RemoveAll<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Next i<br />&nbsp;&nbsp;&nbsp;&nbsp;Next<br />&nbsp;&nbsp;&nbsp;&nbsp;'wndReportControl.Populate<br />&nbsp;&nbsp;&nbsp;&nbsp;wndReportControl.Redraw<br />End Sub<br /><br />i'm not sure if this is the right way to remove itemcontrols. if not, how should i do it the right way? <br /><br /><br /><br /><br /><br />]]>
   </description>
   <pubDate>Tue, 13 Jul 2010 11:04:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16948&amp;PID=59311&amp;title=problem-with-recorditemcontrols-removal#59311</guid>
  </item> 
 </channel>
</rss>