﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » .NET Forums » General .NET Discussion  » Form-Inheritance again</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 03:37:52 GMT</lastBuildDate><ttl>20</ttl><item><title>Form-Inheritance again</title><link>http://forum.strataframe.net/FindPost28111.aspx</link><description>Hi there,&lt;/P&gt;&lt;P&gt;after reworking my forms the "inheritance-chain" is working but another problem has come up.&lt;/P&gt;&lt;P&gt;I have&lt;/P&gt;&lt;P&gt;1) A base form which controls some properties and methods. This one is inherited from the strataframe standard form (But it would make no differende it would inherit from a vb-standard form).&lt;/P&gt;&lt;P&gt;2) From this form I inherit (New Item-&amp;gt;Inherited form) a form which gets a groupbox and a toolstrip with three buttons (Save,Undo,Exit) and code handling the click-events of the buttons. Let's call it "MySingleDataFRM".&lt;/P&gt;&lt;P&gt;Now I create a new form inherited from "MySingleDataFRM" ("New Item-&amp;gt;Inherited Form)and want to modify the toolstrip (I want to change his tab-index for example because I want the first textbox to receive focus when I open the form, but I also think of adding buttons to the toolstrip in some cases).&lt;/P&gt;&lt;P&gt;But this does not work. In CODE-magazine I've read an article which explains to set the modifier of the toolstrip from friend to protected, but this odes not work too.&lt;/P&gt;&lt;P&gt;So my question is how this can be done? I know that I could&amp;nbsp;export "MySingleDataFRM as a template and create new forms from this template but then any changes in "MySingleDataFRM" would not be reflected in already created forms, which happens if I create new forms via "New Item-Inherited Form".&lt;/P&gt;&lt;P&gt;Thanks a lot for your help&lt;/P&gt;&lt;P&gt;Thomas</description><pubDate>Fri, 27 Aug 2010 04:55:32 GMT</pubDate><dc:creator>Thomas Holste</dc:creator></item><item><title>RE: Form-Inheritance again</title><link>http://forum.strataframe.net/FindPost28123.aspx</link><description>You are welcome, Thomas. ;)</description><pubDate>Fri, 27 Aug 2010 04:55:32 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: Form-Inheritance again</title><link>http://forum.strataframe.net/FindPost28122.aspx</link><description>Hi Ivan,&lt;/P&gt;&lt;P&gt;thank you for your help. That post gives me some new ideas to try.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Thomas</description><pubDate>Fri, 27 Aug 2010 01:53:14 GMT</pubDate><dc:creator>Thomas Holste</dc:creator></item><item><title>RE: Form-Inheritance again</title><link>http://forum.strataframe.net/FindPost28118.aspx</link><description>Hi Thomas.&lt;/P&gt;&lt;P&gt;I think this post can help you:&lt;/P&gt;&lt;P&gt;&lt;A href="http://forum.strataframe.net/FindPost11487.aspx"&gt;http://forum.strataframe.net/FindPost11487.aspx&lt;/A&gt;</description><pubDate>Thu, 26 Aug 2010 11:22:41 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item></channel></rss>