<?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 : How to use BeginGroup in nested menus?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : How to use BeginGroup in nested menus?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 14 Jun 2026 12:27:18 +0000</pubDate>
  <lastBuildDate>Thu, 30 Oct 2008 03:11:46 +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=12555</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[How to use BeginGroup in nested menus? : How you declared ControlAscending...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12555&amp;PID=42491&amp;title=how-to-use-begingroup-in-nested-menus#42491</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 12555<br /><strong>Posted:</strong> 30 October 2008 at 3:11am<br /><br />How you declared ControlAscending&nbsp; ?]]>
   </description>
   <pubDate>Thu, 30 Oct 2008 03:11:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12555&amp;PID=42491&amp;title=how-to-use-begingroup-in-nested-menus#42491</guid>
  </item> 
  <item>
   <title><![CDATA[How to use BeginGroup in nested menus? : Oleg, thank you for the suggestion....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12555&amp;PID=42488&amp;title=how-to-use-begingroup-in-nested-menus#42488</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3295">eugene_v</a><br /><strong>Subject:</strong> 12555<br /><strong>Posted:</strong> 29 October 2008 at 11:12pm<br /><br />Oleg, thank you for the suggestion. Yet, for some reason, I get Run-time error 13, Type Mismatch on this line:<DIV>&nbsp;</DIV><DIV><table width="99%"><tr><td><pre class="BBcode"></DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set ControlAscending = Control.CommandBar.Controls.Add(xtpControlButton, ID_VIEW_SORT_BY_ASCENDING, "Ascending")</DIV><DIV></pre></td></tr></table></DIV><DIV>&nbsp;</DIV><DIV>For some reason it doesn't like the result returned by .Add</DIV><DIV>&nbsp;</DIV><DIV>Any ideas? What am I doing wrong?</DIV><DIV>&nbsp;</DIV><DIV>Eugene</DIV>]]>
   </description>
   <pubDate>Wed, 29 Oct 2008 23:12:57 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12555&amp;PID=42488&amp;title=how-to-use-begingroup-in-nested-menus#42488</guid>
  </item> 
  <item>
   <title><![CDATA[How to use BeginGroup in nested menus? : Hi,  add additional variable...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12555&amp;PID=42450&amp;title=how-to-use-begingroup-in-nested-menus#42450</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 12555<br /><strong>Posted:</strong> 29 October 2008 at 5:11am<br /><br /><DIV>Hi, </DIV><DIV>add additional variable </DIV><DIV>&nbsp;</DIV><DIV>Set <strong>ControAscending</strong> = Control.CommandBar.Controls.Add (xtpControlButton, ID_VIEW_SORT_BY_ASCENDING, "Ascending")</DIV><DIV><BR><strong>ControAscending</strong>.BeginGroup = True</DIV>]]>
   </description>
   <pubDate>Wed, 29 Oct 2008 05:11:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12555&amp;PID=42450&amp;title=how-to-use-begingroup-in-nested-menus#42450</guid>
  </item> 
  <item>
   <title><![CDATA[How to use BeginGroup in nested menus? : Good day everyone!  Could someone...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12555&amp;PID=42437&amp;title=how-to-use-begingroup-in-nested-menus#42437</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3295">eugene_v</a><br /><strong>Subject:</strong> 12555<br /><strong>Posted:</strong> 28 October 2008 at 8:18pm<br /><br />Good day everyone!<DIV>&nbsp;</DIV><DIV>Could someone point me at how to use BeginGroup in nested menus?</DIV><DIV>&nbsp;</DIV><DIV>Here is my code:</DIV><DIV>&nbsp;</DIV><DIV><table width="99%"><tr><td><pre class="BBcode"></DIV><DIV>&nbsp; 'Creating View menu and items<BR>&nbsp; Set ControlView = CommandBars.ActiveMenuBar.Controls.Add(xtpControlPopup, ID_VIEW, "&amp;View")<BR>&nbsp; With ControlView.CommandBar.Controls<BR>&nbsp;&nbsp;&nbsp; .Add xtpControlButton, ID_VIEW_CustomerList, "Customer &amp;List..."<BR>&nbsp;&nbsp;&nbsp; .Add xtpControlButton, ID_VIEW_Inventory, "&amp;Inventory..."<BR>&nbsp;&nbsp;&nbsp; '---<BR>&nbsp;&nbsp;&nbsp; Set Control = .Add(xtpControlButton, ID_VIEW_Reports, "&amp;Reports...")<BR>&nbsp;&nbsp;&nbsp; Control.BeginGroup = True<BR>&nbsp;&nbsp;&nbsp; '---<BR>&nbsp;&nbsp;&nbsp; Set Control = .Add(xtpControlPopup, ID_VIEW_SORT, "&amp;Sort Invoices By")<BR>&nbsp;&nbsp;&nbsp; Control.BeginGroup = True<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Control.CommandBar.Controls.Add xtpControlButton, ID_VIEW_SORT_BY_AMOUNT_DUE, "&amp;Amount Due"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Control.CommandBar.Controls.Add xtpControlButton, ID_VIEW_SORT_BY_STATUS, "St&amp;atus"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'I want to place a separator here<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Control.CommandBar.Controls.Add xtpControlButton, ID_VIEW_SORT_BY_ASCENDING, "Ascending"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Control.BeginGroup = True 'does not work - no separator is displayed<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Control.CommandBar.Controls.Add xtpControlButton, ID_VIEW_SORT_BY_DESCENDING, "Descending"<BR>&nbsp; End With</DIV><DIV></pre></td></tr></table></DIV><DIV>&nbsp;</DIV><DIV>Thank you very much in advance,</DIV><DIV>Eugene</DIV>]]>
   </description>
   <pubDate>Tue, 28 Oct 2008 20:18:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12555&amp;PID=42437&amp;title=how-to-use-begingroup-in-nested-menus#42437</guid>
  </item> 
 </channel>
</rss>