<?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 : Ribbonbar not dislplaying</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Ribbonbar not dislplaying]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 11 Jun 2026 06:41:13 +0000</pubDate>
  <lastBuildDate>Thu, 27 Dec 2007 18:02:37 +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=9168</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[Ribbonbar not dislplaying : I ffixed the problem by replacing...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9168&amp;PID=29793&amp;title=ribbonbar-not-dislplaying#29793</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3351">wakerunner</a><br /><strong>Subject:</strong> 9168<br /><strong>Posted:</strong> 27 December 2007 at 6:02pm<br /><br />I ffixed the problem by replacing the code below:<DIV>&nbsp;</DIV><DIV><EM>CommandBars.ActiveMenuBar.Controls(a%).visible=true</EM></DIV><DIV><EM></EM>&nbsp;</DIV><DIV><EM>With the line below</EM></DIV><DIV><EM></EM>&nbsp;</DIV><DIV><EM>CommandBars.FindControl(,CommandBars.ActiveMenuBar.Controls(a%).id).Visible = True</EM></DIV><DIV><EM></EM>&nbsp;</DIV><DIV><EM></EM>&nbsp;</DIV><DIV><EM>Don't know why it makes a difference, but it works.</EM></DIV>]]>
   </description>
   <pubDate>Thu, 27 Dec 2007 18:02:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9168&amp;PID=29793&amp;title=ribbonbar-not-dislplaying#29793</guid>
  </item> 
  <item>
   <title><![CDATA[Ribbonbar not dislplaying : what about using the commandbars_update...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9168&amp;PID=29791&amp;title=ribbonbar-not-dislplaying#29791</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2364">gaudetm</a><br /><strong>Subject:</strong> 9168<br /><strong>Posted:</strong> 27 December 2007 at 5:56pm<br /><br />what about using the commandbars_update event?]]>
   </description>
   <pubDate>Thu, 27 Dec 2007 17:56:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9168&amp;PID=29791&amp;title=ribbonbar-not-dislplaying#29791</guid>
  </item> 
  <item>
   <title><![CDATA[Ribbonbar not dislplaying : Found the fix, don&amp;#039;t know...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9168&amp;PID=29726&amp;title=ribbonbar-not-dislplaying#29726</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3351">wakerunner</a><br /><strong>Subject:</strong> 9168<br /><strong>Posted:</strong> 22 December 2007 at 11:40pm<br /><br />Found the fix, don't know why this fixes the problem but it does. I'll post it here in case it can help somebody else with the same problem.<DIV>&nbsp;</DIV><DIV>Below is the code I was using to loop through the buttons and make the desired buttons visible and others not visible.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV><EM>For a% = 1 To main1.CommandBars.ActiveMenuBar.Controls.Count<BR>Select Case main1.CommandBars.ActiveMenuBar.Controls(a%).id<BR>Case 1, 2, 3, 4, 5, 17, 21</EM></DIV><DIV><EM>main1.CommandBars.ActiveMenuBar.Controls(a%).visible=true'***<BR>Case Else<BR>main1.CommandBars.ActiveMenuBar.Controls(a%).visible=false'***<BR>End Select<BR>Next a%<BR></EM></DIV><DIV><EM>&nbsp;</DIV></EM><DIV>I replaced the lines above with *** with the line below and it fixed the problem.</DIV><DIV>&nbsp;</DIV><DIV><EM>main1.CommandBars.FindControl(,main1.CommandBars.ActiveMenuBar.Controls(a%).id).Visible = True</EM></DIV><P><EM>or </P><DIV><DIV>&nbsp;</DIV><DIV><EM>main1.CommandBars.FindControl(,main1.CommandBars.ActiveMenuBar.Controls(a%).id).Visible = False</EM></DIV></EM><EM></DIV><DIV><BR></DIV></EM>]]>
   </description>
   <pubDate>Sat, 22 Dec 2007 23:40:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9168&amp;PID=29726&amp;title=ribbonbar-not-dislplaying#29726</guid>
  </item> 
  <item>
   <title><![CDATA[Ribbonbar not dislplaying : Thanks for the reply, but that...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9168&amp;PID=29724&amp;title=ribbonbar-not-dislplaying#29724</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3351">wakerunner</a><br /><strong>Subject:</strong> 9168<br /><strong>Posted:</strong> 22 December 2007 at 11:23am<br /><br />Thanks for the reply, but that does not change the behaviour. I found out the difference in my code, why it behaves one way in one project and not the other.<DIV>&nbsp;</DIV><DIV>In the project where the groups dissapear instead of turning into a dropdown I have code in the form resize event of the MDI child that sets some of the buttons on the ribbon to visible=false, if I skip this code it behaves the way I want. Only problem is I have to be able to set some of the buttons to be not visible as I load or unload different forms. Does anybody know how to implement this? I tried the all of the below with no luck.</DIV><DIV>&nbsp;</DIV><DIV>ribbonbar.RecalcLayout<BR>ribbonbar.RedrawBar<BR>CommandBars.Options.WrapLargePopups = True<BR>&nbsp;&nbsp;&nbsp; </DIV>]]>
   </description>
   <pubDate>Sat, 22 Dec 2007 11:23:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9168&amp;PID=29724&amp;title=ribbonbar-not-dislplaying#29724</guid>
  </item> 
  <item>
   <title><![CDATA[Ribbonbar not dislplaying : in the options  set WrapLargePopups  &amp;gt;&amp;lt;...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9168&amp;PID=29718&amp;title=ribbonbar-not-dislplaying#29718</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3128">Bernie</a><br /><strong>Subject:</strong> 9168<br /><strong>Posted:</strong> 22 December 2007 at 3:13am<br /><br />in the options<DIV>&nbsp;</DIV><DIV>set WrapLargePopups</DIV><DIV>&nbsp;</DIV><DIV>&gt;&lt; possibly</DIV>]]>
   </description>
   <pubDate>Sat, 22 Dec 2007 03:13:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9168&amp;PID=29718&amp;title=ribbonbar-not-dislplaying#29718</guid>
  </item> 
  <item>
   <title><![CDATA[Ribbonbar not dislplaying : I have code to create a ribbon...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9168&amp;PID=29717&amp;title=ribbonbar-not-dislplaying#29717</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3351">wakerunner</a><br /><strong>Subject:</strong> 9168<br /><strong>Posted:</strong> 22 December 2007 at 2:45am<br /><br />I have code to create a ribbon bar on a MDI parent form, I used the same code in 2 different projects and am getting different results. In one when the width of the form is too small for all the buttons to fit the entire group dissapears, on the other the group turns into a dropdown that can be clicked on to display the buttons. I can't figure out why the difference. <DIV>&nbsp;</DIV><DIV>What am I missing? What could change this behavior? I am attaching a image so you can see what I mean, the image is the one where the group becomes a dropdown, I want this same behavior on both projects.</DIV><DIV>&nbsp;</DIV><DIV><img src="https://forum.codejock.com/uploads/20071222_024452_ribb&#111;nbar.jpg" border="0"></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Sat, 22 Dec 2007 02:45:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9168&amp;PID=29717&amp;title=ribbonbar-not-dislplaying#29717</guid>
  </item> 
 </channel>
</rss>