<?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 : Easy way to dock  CommandBars/Ribbonbar to top</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Easy way to dock  CommandBars/Ribbonbar to top]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 23:57:25 +0000</pubDate>
  <lastBuildDate>Thu, 15 Apr 2010 17:06:17 +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=16584</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[Easy way to dock  CommandBars/Ribbonbar to top : Thanks a lot. Both works. Was...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16584&amp;PID=58105&amp;title=easy-way-to-dock-commandbars-ribbonbar-to-top#58105</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6039">CapoPezzio</a><br /><strong>Subject:</strong> 16584<br /><strong>Posted:</strong> 15 April 2010 at 5:06pm<br /><br />Thanks a lot. Both works. Was just hoping that there was a simple property on the control to dock it to the top (it is a toolbar-control afterall). No I have to add an elastic to each of our forms. Not that much work, but anyway.... thanks a lot]]>
   </description>
   <pubDate>Thu, 15 Apr 2010 17:06:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16584&amp;PID=58105&amp;title=easy-way-to-dock-commandbars-ribbonbar-to-top#58105</guid>
  </item> 
  <item>
   <title><![CDATA[Easy way to dock  CommandBars/Ribbonbar to top : You can use ResizeClient-Event...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16584&amp;PID=58076&amp;title=easy-way-to-dock-commandbars-ribbonbar-to-top#58076</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2531">Baldur</a><br /><strong>Subject:</strong> 16584<br /><strong>Posted:</strong> 14 April 2010 at 11:30am<br /><br />You can use ResizeClient-Event of the CommandBar. This works also if your form is being resized.]]>
   </description>
   <pubDate>Wed, 14 Apr 2010 11:30:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16584&amp;PID=58076&amp;title=easy-way-to-dock-commandbars-ribbonbar-to-top#58076</guid>
  </item> 
  <item>
   <title><![CDATA[Easy way to dock  CommandBars/Ribbonbar to top : I solved the same issue with few...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16584&amp;PID=58074&amp;title=easy-way-to-dock-commandbars-ribbonbar-to-top#58074</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5119">gvidali</a><br /><strong>Subject:</strong> 16584<br /><strong>Posted:</strong> 14 April 2010 at 9:54am<br /><br />I solved the same issue with few lines of code. <br /><br />1 -- Set the "align" property of your tab control or elastic control to asNone (0 - zero).<br /><br />2 -- In the Resize event of your commandbar, use this snippet (control c1, in this case, is an elastic control)...<br /><br />If Me.WindowState &lt;&gt; vbMinimized Then<br />&nbsp;&nbsp;&nbsp;&nbsp;CommandBars1.GetClientRect iLeft, iTop, iRight, iBottom<br />&nbsp;&nbsp;&nbsp;&nbsp;c1.Move iLeft, iTop, iRight, iBottom - iTop<br />End If <br /><br />Hope this helps...<br /><br />Giorgio]]>
   </description>
   <pubDate>Wed, 14 Apr 2010 09:54:00 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16584&amp;PID=58074&amp;title=easy-way-to-dock-commandbars-ribbonbar-to-top#58074</guid>
  </item> 
  <item>
   <title><![CDATA[Easy way to dock  CommandBars/Ribbonbar to top :  Hi.I was hoping to change from...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16584&amp;PID=58064&amp;title=easy-way-to-dock-commandbars-ribbonbar-to-top#58064</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6039">CapoPezzio</a><br /><strong>Subject:</strong> 16584<br /><strong>Posted:</strong> 13 April 2010 at 3:11pm<br /><br />Hi.<br><br>I was hoping to change from ActiveBar (DataDynamics) to CommandBars-menus (Ribbonbar) in all our forms (&gt;100). We are using vb6. I am trying to find an easy way. I have created an object wich creates the menus itself. We use layout-files to dynamically create the ActiveBars and I have mangaed to create an object whick create CommanBars menys (as Ribbonbars) of the same layout. And it work great. It is really good-looking. But I have a problem when I am trying to just swap the AcitveBar-component with the CommanBars component in my excisting forms. Where the ActiveBar always dock itself to the top, my CommnadBars doesnt. <br>We use a tab-component from ComponentOne a lot wich has an Allign-property set to Fill. When we use ActiveBar the menu dock itself to the top and the Tab-control comes under and fill the rest of the form. With CommandBars the Tab-control fill the entire form and my menu doesnt show. (it is behind).<br><br>I am tryning to find the easiest way to dock my COmmandbars-control to the top, because there are many many forms that I will implement this to if it workds. Anyone can help me?<br><br>This is my code sofar:<br><br>Set Ribbonbar = theMenu.AddRibbonBar("The Ribbon")<br>&nbsp;&nbsp;&nbsp; <br> Ribbonbar.EnableDocking xtpFlagAlignTop&nbsp;&nbsp; 'xtpFlagStretched<br>Ribbonbar.Position = xtpBarTop<br><br><br>theMenu is my CommandBars-control which is on the form<br><br><br>Please help. Would really lift our program<br><br>We are using Xtreme SuitePro ActiveX v12.1.0 - by the way<br>]]>
   </description>
   <pubDate>Tue, 13 Apr 2010 15:11:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16584&amp;PID=58064&amp;title=easy-way-to-dock-commandbars-ribbonbar-to-top#58064</guid>
  </item> 
 </channel>
</rss>