<?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 CommandBarPopup.DeleteAll()</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Problem with CommandBarPopup.DeleteAll()]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 11 Jun 2026 05:41:44 +0000</pubDate>
  <lastBuildDate>Thu, 21 Feb 2008 15:15:12 +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=9661</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 CommandBarPopup.DeleteAll() : CommandBarPopup popup = ...; p...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9661&amp;PID=31451&amp;title=problem-with-commandbarpopup-deleteall#31451</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 9661<br /><strong>Posted:</strong> 21 February 2008 at 3:15pm<br /><br />CommandBarPopup popup = ...; <BR>popup.<strong>CommandBar</strong>.Controls.DeleteAll(); <BR>]]>
   </description>
   <pubDate>Thu, 21 Feb 2008 15:15:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9661&amp;PID=31451&amp;title=problem-with-commandbarpopup-deleteall#31451</guid>
  </item> 
  <item>
   <title><![CDATA[Problem with CommandBarPopup.DeleteAll() : Good idea.  I will try this.  But...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9661&amp;PID=31449&amp;title=problem-with-commandbarpopup-deleteall#31449</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=979">blazej</a><br /><strong>Subject:</strong> 9661<br /><strong>Posted:</strong> 21 February 2008 at 3:02pm<br /><br />Good idea.  I will try this.<br /><br />But still, it would be interesting to know why my code does not work as is...<br /><br />Best,<br />Michal]]>
   </description>
   <pubDate>Thu, 21 Feb 2008 15:02:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9661&amp;PID=31449&amp;title=problem-with-commandbarpopup-deleteall#31449</guid>
  </item> 
  <item>
   <title><![CDATA[Problem with CommandBarPopup.DeleteAll() : Hi,  Youbetter use the InitC...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9661&amp;PID=31448&amp;title=problem-with-commandbarpopup-deleteall#31448</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 9661<br /><strong>Posted:</strong> 21 February 2008 at 2:53pm<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>You&nbsp;better use the InitCommandsPopup&nbsp;event.&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Private Sub CommandBars_InitCommandsPopup(ByVal CommandBar As XtremeCommandBars.ICommandBar)</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CommandBar.Controls.DeleteAll ''this will delete all siblings</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CommandBar.Controls.Add(xtpControlButton, ID_BUTTON1,"caption") ''this will add a new button to the popup</DIV><DIV>End Sub</DIV>]]>
   </description>
   <pubDate>Thu, 21 Feb 2008 14:53:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9661&amp;PID=31448&amp;title=problem-with-commandbarpopup-deleteall#31448</guid>
  </item> 
  <item>
   <title><![CDATA[Problem with CommandBarPopup.DeleteAll() : Hello,  I have a CommandBarPopup...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9661&amp;PID=31444&amp;title=problem-with-commandbarpopup-deleteall#31444</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=979">blazej</a><br /><strong>Subject:</strong> 9661<br /><strong>Posted:</strong> 21 February 2008 at 1:25pm<br /><br />Hello,<br /><br />I have a CommandBarPopup on my main menu.  I want to remove all items that belong to the popup (i.e. all siblings), and add new ones.  Here's what my code does:<br /><br />CommandBarPopup popup = ...;<br />popup.Controls.DeleteAll();<br />popup.Controls.Add( ... );<br /><br />The problem is that after the call to DeleteAll, popup.Controls becomes null!  Am I missing something?<br /><br />Best,<br />Michal Blazejczyk]]>
   </description>
   <pubDate>Thu, 21 Feb 2008 13:25:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9661&amp;PID=31444&amp;title=problem-with-commandbarpopup-deleteall#31444</guid>
  </item> 
 </channel>
</rss>