﻿<?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?)  » Modifying the position of a custom button on SF Maintenance toolbar</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Sat, 02 May 2026 11:22:23 GMT</lastBuildDate><ttl>20</ttl><item><title>Modifying the position of a custom button on SF Maintenance toolbar</title><link>http://forum.strataframe.net/FindPost30110.aspx</link><description>Hi all, &lt;br/&gt;&lt;br/&gt;I'm using the SF maintenance toolbar and I've added a custom button, but not in the right place. I added a "Save As" button between the Save and Cancel buttons.&amp;nbsp;  I changed the position of the button in the designer, but during runtime, the button moves back to the end of the buttons on the right. Having that fail, I've been looking for a way to modify the position of the button in code. As of yet, i have been unsuccessful. &lt;br/&gt;&lt;br/&gt;Has anyone else done this? If so, any advice would be appreciated.&lt;br/&gt;&lt;br/&gt;Thank You,&lt;br/&gt;Govinda</description><pubDate>Fri, 22 Jul 2011 09:27:37 GMT</pubDate><dc:creator>Govinda Berrio</dc:creator></item><item><title>RE: Modifying the position of a custom button on SF Maintenance toolbar</title><link>http://forum.strataframe.net/FindPost30187.aspx</link><description>For anyone interested, I found the properties provided by StrataFrame to manipulate the buttons on the toolbar. &lt;br/&gt;&lt;br/&gt;&lt;span&gt;[codesnippet]MicroFour.StrataFrame.UI.Windows.Forms.MaintenanceFormToolStrip ts = (MicroFour.StrataFrame.UI.Windows.Forms.MaintenanceFormToolStrip)ToolStripContainer1.TopToolStripPanel.Rows[0].Controls[0];&lt;br/&gt;System.Windows.Forms.ToolStripButton btn = (System.Windows.Forms.ToolStripButton)ts.Items[14];&lt;br/&gt;ts.Items.Remove(btn);&lt;br/&gt;ts.Items.Insert(1, btn);&lt;br/&gt;[/codesnippet]&lt;/span&gt;</description><pubDate>Fri, 22 Jul 2011 09:27:37 GMT</pubDate><dc:creator>Govinda Berrio</dc:creator></item></channel></rss>