<?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 : RibbonSample-System Menu</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : RibbonSample-System Menu]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 10 Jun 2026 13:44:47 +0000</pubDate>
  <lastBuildDate>Tue, 13 Feb 2007 05:15:50 +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=6397</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[RibbonSample-System Menu : I did it, with this code, i get...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6397&amp;PID=20346&amp;title=ribbonsamplesystem-menu#20346</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1386">mav50202</a><br /><strong>Subject:</strong> 6397<br /><strong>Posted:</strong> 13 February 2007 at 5:15am<br /><br /><P>I did it, with this code, i get it from the samples in VB. (I work in Visual Foxpro 9). </P><P>Thanks.</P><DIV>&nbsp;</DIV><DIV><FONT size=2><P></FONT><FONT color=#0000ff size=2>With</FONT><FONT size=2> ControlFile.CommandBar.Controls</P><P>.Add xtpControlButton, ID_FILE_NEW, </FONT><FONT color=#800000 size=2>"&amp;New"</P></FONT><FONT size=2><P>.Add xtpControlButton, ID_FILE_OPEN, </FONT><FONT color=#800000 size=2>"&amp;Open..."</P></FONT><FONT size=2><P>.Add xtpControlButton, ID_FILE_SAVE, </FONT><FONT color=#800000 size=2>"&amp;Save"</P></FONT><FONT size=2><P>.Add xtpControlButton, ID_FILE_SAVE_AS, </FONT><FONT color=#800000 size=2>"Save &amp;As..."</P></FONT><FONT size=2><P></FONT><FONT color=#0000ff size=2>Set</FONT><FONT size=2> Control = .Add(xtpControlSplitButtonPopup, ID_FILE_PRINT, </FONT><FONT color=#800000 size=2>"&amp;Print"</FONT><FONT size=2>)</P><P>Control.BeginGroup = </FONT><FONT color=#0000ff size=2>True</P></FONT><FONT size=2><P></FONT><FONT color=#0000ff size=2>Set</FONT><FONT size=2> PopupBar = CommandBars.CreateCommandBar(</FONT><FONT color=#800000 size=2>"CXTPRibbonSystemPopupBarPage"</FONT><FONT size=2>)</P><P></FONT><FONT color=#0000ff size=2>Set</FONT><FONT size=2> Control.CommandBar = PopupBar</P><P></FONT><FONT color=#0000ff size=2>Set</FONT><FONT size=2> Control = PopupBar.Controls.Add(xtpControlLabel, 0, </FONT><FONT color=#800000 size=2>"Preview and print the document"</FONT><FONT size=2>)</P><P>Control.Width = 296</P><P>Control.DefaultItem = </FONT><FONT color=#0000ff size=2>True</P></FONT><FONT size=2><P>Control.Style = xtpButtonCaption</P><P>PopupBar.DefaultButtonStyle = xtpButtonCaptionAndDescription</P><P>PopupBar.SetIconSize 32, 32</P><P>PopupBar.ShowGripper = </FONT><FONT color=#0000ff size=2>False</P></FONT><FONT size=2><P></P><P></P><P></P><P>PopupBar.Controls.Add xtpControlButton, ID_FILE_PRINT, </FONT><FONT color=#800000 size=2>"Print Pre&amp;view"</P></FONT><FONT size=2><P>PopupBar.Controls.Add xtpControlButton, ID_FILE_PRINT_SETUP, </FONT><FONT color=#800000 size=2>"Pr&amp;int Setup..."</P></FONT><FONT size=2><P>PopupBar.Controls.Add xtpControlButton, ID_FILE_PRINT_PREVIEW, </FONT><FONT color=#800000 size=2>"Print Pre&amp;view"</P></FONT><FONT size=2><P>.Add xtpControlButton, ID_FILE_PREPARE, </FONT><FONT color=#800000 size=2>"Prepare"</P></FONT><FONT size=2><P>.Add xtpControlButton, ID_FILE_SEND, </FONT><FONT color=#800000 size=2>"Send"</P></FONT><FONT size=2><P>.Add xtpControlButton, ID_FILE_PREPARE, </FONT><FONT color=#800000 size=2>"Publish"</P></FONT><FONT size=2><P>.Add xtpControlButton, ID_FILE_CLOSE, </FONT><FONT color=#800000 size=2>"Close"</P></FONT><FONT size=2><P></P><P></P><P></FONT><FONT color=#0000ff size=2>Set</FONT><FONT size=2> Control = CommandBars.CreateCommandBarControl(</FONT><FONT color=#800000 size=2>"CXTPRibbonControlSystemPopupBarListCaption"</FONT><FONT size=2>)</P><P>Control.Caption = </FONT><FONT color=#800000 size=2>"Recent Documents"</P></FONT><FONT size=2><P>Control.BeginGroup = </FONT><FONT color=#0000ff size=2>True</P></FONT><FONT size=2><P>.AddControl Control</P><P></P><P></FONT><FONT color=#0000ff size=2>Set</FONT><FONT size=2> Control = CommandBars.CreateCommandBarControl(</FONT><FONT color=#800000 size=2>"CXTPRibbonControlSystemPopupBarListItem"</FONT><FONT size=2>)</P><P>Control.Caption = </FONT><FONT color=#800000 size=2>"frmMain.frm"</P></FONT><FONT size=2><P>.AddControl Control</P><P></P><P></FONT><FONT color=#0000ff size=2>Set</FONT><FONT size=2> Control = CommandBars.CreateCommandBarControl(</FONT><FONT color=#800000 size=2>"CXTPRibbonControlSystemPopupBarButton"</FONT><FONT size=2>)</P><P>Control.Caption = </FONT><FONT color=#800000 size=2>"Options"</P></FONT><FONT size=2><P>Control.Id = ID_FILE_OPTIONS</P><P>.AddControl Control</P><P></P><P></FONT><FONT color=#0000ff size=2>Set</FONT><FONT size=2> Control = CommandBars.CreateCommandBarControl(</FONT><FONT color=#800000 size=2>"CXTPRibbonControlSystemPopupBarButton"</FONT><FONT size=2>)</P><P>Control.Caption = </FONT><FONT color=#800000 size=2>"Exit Sample"</P></FONT><FONT size=2><P>Control.Id = ID_APP_EXIT</P><P>.AddControl Control</P><P></P><P>ControlFile.CommandBar.SetIconSize 32, 32</P><P></FONT><FONT color=#0000ff size=2>End</FONT><FONT size=2> </FONT><FONT color=#0000ff size=2>With</P></FONT></DIV>]]>
   </description>
   <pubDate>Tue, 13 Feb 2007 05:15:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6397&amp;PID=20346&amp;title=ribbonsamplesystem-menu#20346</guid>
  </item> 
  <item>
   <title><![CDATA[RibbonSample-System Menu : Hi again, im trying to do a sample...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6397&amp;PID=20344&amp;title=ribbonsamplesystem-menu#20344</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1386">mav50202</a><br /><strong>Subject:</strong> 6397<br /><strong>Posted:</strong> 13 February 2007 at 4:46am<br /><br />Hi again, im trying to do a sample like the ribbon sample in codejock downloads, and i have problems with the system menu, and i want to do some like this.<DIV>&nbsp;</DIV><DIV>But I dont know to get the description and the icon in the "Print Preview Element" , i know that is a "CX<FONT face="Courier New" size=2>TPRibbonControlSystemPopupBarListItem" but the description below and icon i dont know to set it.</FONT></DIV><DIV><FONT face="Courier New" size=2></FONT>&nbsp;</DIV><DIV><FONT face="Courier New" size=2>And in the header "Preview and print the document", my background color is the same every time and in this sample is blue, how can i change?</FONT></DIV><DIV><FONT face="Courier New" size=2></FONT>&nbsp;</DIV><DIV><FONT face="Courier New" size=2>And last, whats is the event in the main system menu when change the focus over print and send and change the elements in container.</FONT></DIV><DIV><FONT face="Courier New" size=2></FONT>&nbsp;</DIV><DIV><FONT face="Courier New" size=2>Thank you very much for all and im so sorry this long topic.</FONT></DIV><DIV>&nbsp;</DIV><DIV><img src="https://forum.codejock.com/uploads/20070213_043910_Sample.jpg" border="0"></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 13 Feb 2007 04:46:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6397&amp;PID=20344&amp;title=ribbonsamplesystem-menu#20344</guid>
  </item> 
 </channel>
</rss>