<?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 : CommandBars.Actions don&#039;t work with Ribbon</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : CommandBars.Actions don&#039;t work with Ribbon]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 14 Jun 2026 12:05:47 +0000</pubDate>
  <lastBuildDate>Mon, 12 Jul 2010 09:00:22 +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=16937</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[CommandBars.Actions don&#039;t work with Ribbon : Thank you! ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16937&amp;PID=59279&amp;title=commandbars-actions-dont-work-with-ribbon#59279</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3138">dimdar</a><br /><strong>Subject:</strong> 16937<br /><strong>Posted:</strong> 12 July 2010 at 9:00am<br /><br /><P>Thank you!</P>]]>
   </description>
   <pubDate>Mon, 12 Jul 2010 09:00:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16937&amp;PID=59279&amp;title=commandbars-actions-dont-work-with-ribbon#59279</guid>
  </item> 
  <item>
   <title><![CDATA[CommandBars.Actions don&#039;t work with Ribbon : Hello,  Thanks a lot. we agree...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16937&amp;PID=59277&amp;title=commandbars-actions-dont-work-with-ribbon#59277</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 16937<br /><strong>Posted:</strong> 12 July 2010 at 7:34am<br /><br />Hello,<br /><br />Thanks a lot. we agree problem with Popups that was created with CreateCommandBar method. It fixed for next release. Please as workaround manually connect control with its action:<br /><br />Set Control = .Controls.Add(xtpControlButton, 555, "")<br />Set Control.Action = CommandBars.Actions.Action(555)]]>
   </description>
   <pubDate>Mon, 12 Jul 2010 07:34:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16937&amp;PID=59277&amp;title=commandbars-actions-dont-work-with-ribbon#59277</guid>
  </item> 
  <item>
   <title><![CDATA[CommandBars.Actions don&#039;t work with Ribbon : Hi,  I have this problem with...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16937&amp;PID=59274&amp;title=commandbars-actions-dont-work-with-ribbon#59274</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3138">dimdar</a><br /><strong>Subject:</strong> 16937<br /><strong>Posted:</strong> 12 July 2010 at 5:26am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>I have this problem with Actions and Ribbon see below:</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp; CommandBars.DeleteAll<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; CommandBars.Options.SetIconSize True, 24, 24<BR>&nbsp;&nbsp;&nbsp; CommandBars.Options.SetPopupIconSize 24, 24<BR>&nbsp;&nbsp;&nbsp; CommandBars.Options.LargeIcons = True<BR>&nbsp;&nbsp;&nbsp; CommandBars.Options.ShowExpandButtonAlways = False<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; ' Action<BR>&nbsp;&nbsp;&nbsp; CommandBars.EnableActions&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp; CommandBars.Actions.Add 555, "555", "", "", "File" 'Action&nbsp;ID is 555<BR>&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp; Dim RibbonBar As RibbonBar<BR>&nbsp;&nbsp;&nbsp; Set RibbonBar = CommandBars.AddRibbonBar("The Ribbon")<BR>&nbsp;&nbsp;&nbsp; RibbonBar.EnableDocking xtpFlagStretched<BR>&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp; Dim ControlFile As CommandBarPopup</DIV><DIV>&nbsp;&nbsp;&nbsp; Dim PopupBar As CommandBar<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; Set ControlFile = RibbonBar.AddSystemButton()<BR>&nbsp;&nbsp;&nbsp; ControlFile.IconId = tid_System_Icon<BR>&nbsp;&nbsp;&nbsp; ControlFile.Caption = "&amp;File"<BR>&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp; With ControlFile.CommandBar<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Controls.Add xtpControlButton, 444, "Button1"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Controls.Add xtpControlButton, 555, ""<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim ControlPrint As CommandBarPopup<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set ControlPrint = AddButton(.Controls, xtpControlSplitButtonPopup, tid_File_Stampa)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; With ControlPrint<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .BeginGroup = True<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set PopupBar = CommandBars.CreateCommandBar("CXTPRibbonSystemPopupBarPage")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set ControlPrint.CommandBar = PopupBar<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; With PopupBar<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .SetIconSize 24, 24<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .ShowGripper = False<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .DefaultButtonStyle = xtpButtonCaptionAndDescription</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; With AddButton(.Controls, xtpControlLabel, 0)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Caption = "Preview and print the document"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Width = 296<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .DefaultItem = True<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Style = xtpButtonCaption<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End With<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Controls.Add xtpControlButton, 555, "555 lost caption" 'I need&nbsp; specify a caption&nbsp;otherwise is empty<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End With<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End With<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Controls.Add xtpControlButton, 555, ""<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Controls.Add xtpControlButton, 666, "Exit"<BR>&nbsp;&nbsp;&nbsp; End With</DIV><DIV>&nbsp;&nbsp;&nbsp; </DIV><DIV>&nbsp;&nbsp;&nbsp; CommandBars.Actions.Action(555).Checked = True 'Check all 555 Command ID</DIV><DIV>&nbsp;</DIV><DIV>The button with "555 lost caption" is not the same of actions and infact is not checked, I have missing something?</DIV>]]>
   </description>
   <pubDate>Mon, 12 Jul 2010 05:26:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16937&amp;PID=59274&amp;title=commandbars-actions-dont-work-with-ribbon#59274</guid>
  </item> 
 </channel>
</rss>