﻿<?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  » ReadOnly on inherited form // ThemedXXXStrip when is dropped on a inheritable form...</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Mon, 08 Jun 2026 23:48:16 GMT</lastBuildDate><ttl>20</ttl><item><title>ReadOnly on inherited form // ThemedXXXStrip when is dropped on a inheritable form...</title><link>http://forum.strataframe.net/FindPost11487.aspx</link><description>Well, I have "playing" with controls and containers and when I try to make a generic ABM to be inherited and I see that the themedToolStrip / themedStatusStrip / xxxxStrip can´t be edited on the  form that inherited the base form with that xxxxStrip, it´s a .Net behavior about collection stuff (If I was understand correctly some msdn googled pages).&lt;br&gt;
&lt;br&gt;
I try to avoid this, in a test, I try to set the Browsedialog property of the themedMaintenanceToolstrip, to acoomplish this I finish with:&lt;br&gt;
&lt;br&gt;
I created a "CustomthemedMaintenanceToolstrip" SF User Control, I dropped a themedMaintenanceToolstrip, I put a Public Property "BrowseDialog" and in get/set I put the private themedMaintenanceToolstrip&lt;br&gt;
&lt;br&gt;
then when I drop my "CustomthemedMaintenanceToolstrip" on my base form, on the form that inherited of this base form I can set the "BrowseDialog" property of my "CustomthemedMaintenanceToolstrip" without problems.... with this approach I have to create some properties to edit each control of the themedMaintenanceToolstrip.&lt;br&gt;
&lt;br&gt;
I not see the SF source code yet to explore how the themedMaintenanceToolstrip was created, but I not sure if I have the brain to understand it yet :/&lt;br&gt;
&lt;br&gt;
I think that my question is a newbie one but I not sure about a lot of stuff [comin´ to my mind the GetType stuff to launch a form... aprox 8 hours to understand it and type.GetType :w00t:] and better I question now that I creating some stuff that some time ago I see that I created all of my stuff on a wrong way :/&lt;br&gt;
&lt;br&gt;
It's the better way? it´s ok? thanks for the responses! :)&lt;br&gt;
&lt;br&gt;
[i]pd: I try to be clear on my questions but I´m speak in spanish, sorry for my grammar misses and mistakes [/i]</description><pubDate>Wed, 19 Sep 2007 12:49:55 GMT</pubDate><dc:creator>Fabian R Silva, -</dc:creator></item><item><title>RE: ReadOnly on inherited form // ThemedXXXStrip when is dropped on a inheritable form...</title><link>http://forum.strataframe.net/FindPost11589.aspx</link><description>No problem, glad I could help.</description><pubDate>Wed, 19 Sep 2007 12:49:55 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: ReadOnly on inherited form // ThemedXXXStrip when is dropped on a inheritable form...</title><link>http://forum.strataframe.net/FindPost11582.aspx</link><description>thank you so much :) &lt;br&gt;</description><pubDate>Wed, 19 Sep 2007 10:48:36 GMT</pubDate><dc:creator>Fabian R Silva, -</dc:creator></item><item><title>RE: ReadOnly on inherited form // ThemedXXXStrip when is dropped on a inheritable form...</title><link>http://forum.strataframe.net/FindPost11568.aspx</link><description>No, Fabian, you are doing it right.&amp;nbsp; In order to change the properties on an inherited control, you will have to set those properties through code.&amp;nbsp; So, if you inherit a form that already has a toolstrip, and you want to add new buttons to that toolstrip, you will need to create a method to add the new buttons and call that method.&amp;nbsp; You won't be able to add the new buttons through the designer.&lt;/P&gt;&lt;P&gt;So, yes, you're doing it correctly.</description><pubDate>Wed, 19 Sep 2007 08:52:36 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: ReadOnly on inherited form // ThemedXXXStrip when is dropped on a inheritable form...</title><link>http://forum.strataframe.net/FindPost11550.aspx</link><description>Hello thanks for reply, I try to inherit an base "ABM FORM" with a xxxxStrip (status, toolbar, etc), and the xxxStrip will support add new controls (label, textbox, drop down) on the inherited form, I see that it couldn't be posibble (I only can do it with the workaround from previous post or all the properties are read only)&lt;br&gt;
&lt;br&gt;
my question is: that (custom control with a inner xxxStrip) is the best (or only) posibility to change the properties of the xxxStrip (created on the base, called from the inherited form) or I doing all so wrong? :crying:</description><pubDate>Tue, 18 Sep 2007 14:38:23 GMT</pubDate><dc:creator>Fabian R Silva, -</dc:creator></item><item><title>RE: ReadOnly on inherited form // ThemedXXXStrip when is dropped on a inheritable form...</title><link>http://forum.strataframe.net/FindPost11510.aspx</link><description>Are you just trying to create your own MaintenanceFormToolstrip that has a BrowseDialog class already associated with it when you drop it on the form?&amp;nbsp; The MaintenanceFormToolstrip is a relatively "ignorant" class.&amp;nbsp; The Save button calls the Save() on the form, same for Undo() and Edit().&amp;nbsp; The Navigated and EditingStated events of the forms PrimaryBusinessObject are used to set the states of the buttons (i.e. Save/Edit/Undo/Navigate etc.&amp;nbsp; &lt;/P&gt;&lt;P&gt;If this doesn't make any sense then let me know and I will try to explain in more detail.</description><pubDate>Mon, 17 Sep 2007 09:55:10 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>