﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » WinForms (How do I?)  » DevExpress MaintenanceFormBarManager - Adding Items to standard toolbar</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 30 Jun 2026 11:18:56 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: DevExpress MaintenanceFormBarManager - Adding Items to standard toolbar</title><link>http://forum.strataframe.net/FindPost15428.aspx</link><description>Yeah, it can be a little cumbersome at times, but I am glad you got it going :)</description><pubDate>Mon, 07 Apr 2008 14:21:02 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>DevExpress MaintenanceFormBarManager - Adding Items to standard toolbar</title><link>http://forum.strataframe.net/FindPost2555.aspx</link><description>I have added three extra&amp;nbsp;buttons on the standard tool bar beside the navigation buttons, however they only show up in designTime mode and not in run-time.&amp;nbsp;Is there anyway to make these buttons visible at run-time?&amp;nbsp; If I place the buttons on a new toolbar it works fine but I want to keep all the buttons on one toolbar.&amp;nbsp;</description><pubDate>Mon, 07 Apr 2008 14:21:02 GMT</pubDate><dc:creator>Tim Dol</dc:creator></item><item><title>RE: DevExpress MaintenanceFormBarManager - Adding Items to standard toolbar</title><link>http://forum.strataframe.net/FindPost15427.aspx</link><description>Thanks Trent, you point me in the right direction, the .net toolbars are a little complicatted and a little more the devexpress one :/ I see that devexpress stuff is sometimes over complicated... &lt;BR&gt;I created another&amp;nbsp;bar in the&amp;nbsp;&amp;nbsp;&lt;FONT color=#010001&gt;MaintenanceFormBarManager1 &lt;/FONT&gt;on my "base class" form and put on it needed buttons, and on the new() constructor of this I put:&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#117711&gt;'bars(0) is the Devexpress SF maintenance toolbar, I don't like to use whole row...&lt;BR&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;FONT size=2&gt;.&lt;/FONT&gt;&lt;FONT color=#010001 size=2&gt;MaintenanceFormBarManager1&lt;/FONT&gt;&lt;FONT size=2&gt;.&lt;/FONT&gt;&lt;FONT color=#010001 size=2&gt;Bars&lt;/FONT&gt;&lt;FONT size=2&gt;(0).&lt;/FONT&gt;&lt;FONT color=#010001 size=2&gt;OptionsBar&lt;/FONT&gt;&lt;FONT size=2&gt;.&lt;/FONT&gt;&lt;FONT color=#010001 size=2&gt;UseWholeRow&lt;/FONT&gt;&lt;FONT size=2&gt; = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;False&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#117711&gt;&lt;BR&gt;'The dockcol, dockrow and offset properties don't appears on the designer, but I see it with the savelayout method on the barmanager.........&lt;FONT color=#008000&gt;I save 2 xml, 1&amp;nbsp;before and 1 after change things... and compare them.&lt;/FONT&gt;&lt;BR&gt;&lt;FONT color=#008000 size=2&gt;'Dim fileName As String = "c:\XtraBars_test.xml" &lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;'Me.MaintenanceFormBarManager1.SaveLayoutToXml(fileName)&lt;BR&gt;&lt;/FONT&gt;&lt;/FONT&gt;With&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#010001 size=2&gt;myAnotherToolbar&lt;BR&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/FONT&gt;&lt;FONT color=#010001 size=2&gt;DockCol&lt;/FONT&gt;&lt;FONT size=2&gt; = 1&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/FONT&gt;&lt;FONT color=#010001 size=2&gt;DockRow&lt;/FONT&gt;&lt;FONT size=2&gt; = 0&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/FONT&gt;&lt;FONT color=#010001 size=2&gt;Offset&lt;/FONT&gt;&lt;FONT size=2&gt; = 366&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;End&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;With&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;I change the private to public modifier on MaintenanceFormBarManager1 to allow me later to add new bars in runtime to the same manager (via code, the designer on the subclassed form put this on read only mode) and then I can create new bars, with new buttons and add this to the manager :/ (not tested yet)&lt;BR&gt;I not found a better solution... but this seems that will work :) thanks for your great help.&lt;/FONT&gt;</description><pubDate>Mon, 07 Apr 2008 14:18:24 GMT</pubDate><dc:creator>Fabian R Silva, -</dc:creator></item><item><title>RE: DevExpress MaintenanceFormBarManager - Adding Items to standard toolbar</title><link>http://forum.strataframe.net/FindPost15405.aspx</link><description>This is one of the issues that I have with the way that DevExpress manages their toolbars.&amp;nbsp; They have their own toolbar class and manager, and when set in code, it doesn't really place nice with the form designer serialization.&lt;/P&gt;&lt;P&gt;This is one of those things that I would have to play with on the DevExpress side to tell you what to change because off of the top of my head I really don't know.&amp;nbsp; We don't use DevExpress so I am not as familiar with their controls.&amp;nbsp; Sorry that I don't have a straight answer for you, but it took some effort to reproduce the MaintenanceFormToolstrip behavior with their controls because they use a ManagerControl that is a component and manages all other bars...so this will probably be one of those things that you just use the designer to get the buttons, etc. on the bar, then in the New or OnLoad of the form set the position of the bar to the desired location.&amp;nbsp; This is the approach that we use to try to get the MaintenanceFormToolstrip setup.</description><pubDate>Sun, 06 Apr 2008 12:21:56 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: DevExpress MaintenanceFormBarManager - Adding Items to standard toolbar</title><link>http://forum.strataframe.net/FindPost15387.aspx</link><description>Hello, sorry for revive this post, I have a similar problem and don't found it on the forum.&lt;br&gt;
&lt;br&gt;
I have a problem with the devexpress wrapper and DevEx.MaintenanceFormToolbar/BarManager.&lt;br&gt;
&lt;br&gt;
I try to put some buttons on the Maitenance ToolBar ("MaintenanceFormTools") but when I close and open the designer it don't save the changes, then I created another toolbar, I set the property optionbar.usewholerow on false in the Maitenance ToolBar, created another toolbar and it allow me to put on this new toolbar buttons, but when I close and open the designer... again the property "usewholerow" is set to "true" and can't put the new toolbar on the same line, I try to inherit the maintenance bar manager and maintenance toolbar witout success, I cannot change the properties of the toolbar, and some errors appears. &lt;br&gt;
I have to modify the source code and recompile or I have another option to change the "usewholerow" on the form designer?&lt;br&gt;
&lt;br&gt;
I attached two images, one with usewholerow (bad) and one witout it (good, the one with usewholerow = false), the good example, when I close and open the designer, becomes bad again... &lt;br&gt;
&lt;br&gt;
sorry for me bad english :w00t: and thanks guys for the great support&lt;br&gt;
&lt;br&gt;
- Fabian</description><pubDate>Fri, 04 Apr 2008 16:25:39 GMT</pubDate><dc:creator>Fabian R Silva, -</dc:creator></item><item><title>RE: DevExpress MaintenanceFormBarManager - Adding Items to standard toolbar</title><link>http://forum.strataframe.net/FindPost2562.aspx</link><description>You can create an new toolbar (or just a class) that inherits from MaintenanceFormToolStrip and add the new buttons to it.&amp;nbsp; That new toolbar will then show up in your toolbox and can be dropped on a form just like the default MaintenanceFormToolstrip.</description><pubDate>Wed, 30 Aug 2006 18:22:11 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item></channel></rss>