<?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 : Change or Remove Controls in the File menu</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Change or Remove Controls in the File menu]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 14 Jun 2026 19:23:03 +0000</pubDate>
  <lastBuildDate>Tue, 30 Dec 2008 07:58:24 +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=13036</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[Change or Remove Controls in the File menu : CommandBars_InitCommandsPopup...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13036&amp;PID=44034&amp;title=change-or-remove-controls-in-the-file-menu#44034</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4571">randallmking</a><br /><strong>Subject:</strong> 13036<br /><strong>Posted:</strong> 30 December 2008 at 7:58am<br /><br /><DIV>CommandBars_InitCommandsPopup routine is called for all Popup controls. How do I know when the File meu control is selected?</DIV><DIV>&nbsp;</DIV><DIV>Private Sub CommandBars_InitCommandsPopup(ByVal CommandBar As XtremeCommandBars.ICommandBar)</DIV><DIV><BR>End Sub</DIV><P>Also, is there a better way to code this so I don't need&nbsp;to access/find the controls with static&nbsp;IDs (&nbsp;ID_File_History_1, ID_File_History_2,...)? Can I just loop thru all my Recent Document controls to change the captions without using an ID?&nbsp;</P>]]>
   </description>
   <pubDate>Tue, 30 Dec 2008 07:58:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13036&amp;PID=44034&amp;title=change-or-remove-controls-in-the-file-menu#44034</guid>
  </item> 
  <item>
   <title><![CDATA[Change or Remove Controls in the File menu : Hi, Guess best event InitCommandsPopup...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13036&amp;PID=44015&amp;title=change-or-remove-controls-in-the-file-menu#44015</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 13036<br /><strong>Posted:</strong> 30 December 2008 at 12:55am<br /><br />Hi,<DIV><BR>Guess best event InitCommandsPopup - fired before Popup appeared.</DIV>]]>
   </description>
   <pubDate>Tue, 30 Dec 2008 00:55:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13036&amp;PID=44015&amp;title=change-or-remove-controls-in-the-file-menu#44015</guid>
  </item> 
  <item>
   <title><![CDATA[Change or Remove Controls in the File menu : How do I change or remove a button...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13036&amp;PID=44009&amp;title=change-or-remove-controls-in-the-file-menu#44009</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4571">randallmking</a><br /><strong>Subject:</strong> 13036<br /><strong>Posted:</strong> 29 December 2008 at 5:54pm<br /><br /><P>How do I change or remove a button caption from the Recent Documents list of the File menu of a Ribbonbar Control? What event is fired that I can intervene to update the Recent Documents list for the File Menu.</P><DIV></DIV><DIV></DIV>I start with this during the Form_Load:<DIV>&nbsp;</DIV><DIV>Set ControlFile = Ribbonbar.AddSystemButton()</DIV><DIV>....</DIV><DIV>Set Control = CommandBars.CreateCommandBarControl("CXTPRibbonControlSystemPopupBarListCaption")</DIV><DIV>Control.Caption = "Recent Documents"<BR>Control.BeginGroup = True<BR>ControlFile.CommandBar.Controls.AddControl Control<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;Set Control = CommandBars.CreateCommandBarControl("CXTPRibbonControlSystemPopupBarListItem")</DIV><DIV>Control.ID = ID_File_History_1</DIV><DIV>Control.Caption = FileHistory(i&amp;)</DIV><DIV>....</DIV><DIV>&nbsp;</DIV><DIV>Then I need to know which event to track so I can change/remove the captions of the&nbsp;Recent Documents&nbsp;controls so users can see a list of the recent files they have&nbsp;opened.&nbsp;I have this code:</DIV><DIV>&nbsp;</DIV><DIV>Set Control = .Find(xtpControlButton, ID_File_History_1)</DIV><DIV>Control.Caption = "(Last Filename)"</DIV><DIV>&nbsp;</DIV><DIV>but I don't know where to put it. What event is fired before the File menu is launched?</DIV><DIV>&nbsp;</DIV><DIV>Is there a better way to code this so I don't need&nbsp;to access/find the controls with static&nbsp;IDs (&nbsp;ID_File_History_1, ID_File_History_2,...)? Can I just loop thru all my Recent Document controls to change the captions without using an ID?&nbsp;</DIV><DIV><BR>Also,&nbsp;is there a good tutorial on Actions?&nbsp;&nbsp; </DIV>]]>
   </description>
   <pubDate>Mon, 29 Dec 2008 17:54:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13036&amp;PID=44009&amp;title=change-or-remove-controls-in-the-file-menu#44009</guid>
  </item> 
 </channel>
</rss>