﻿<?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?)  » Enable/Disable Controls...</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 12:55:59 GMT</lastBuildDate><ttl>20</ttl><item><title>Enable/Disable Controls...</title><link>http://forum.strataframe.net/FindPost1169.aspx</link><description>I notice that on a Maintenance form when you place strataframe controls (TextBox, Combobox, etc.) on the maintenance form, they are all disabled by default, until the Edit button is pressed.    &lt;br&gt;
&lt;br&gt;
Is there a way I can leverage that same functionality on other forms? I have a form with a bunch of comboboxes and I would like all of the comboboxes to be disabled until a choice is made from the first one.  Just wondering... if not i'll use a for each loop.</description><pubDate>Thu, 31 Aug 2006 13:00:20 GMT</pubDate><dc:creator>StarkMike</dc:creator></item><item><title>RE: Enable/Disable Controls...</title><link>http://forum.strataframe.net/FindPost2605.aspx</link><description>Yes.&amp;nbsp; When you uninstall all of your license information will be left alone and in tact.&amp;nbsp; We are going to be moving our StrataFrame install over to InstallShield in the future which will hopefully allow a simple upgrade process rather than an uninstall and a re-install.</description><pubDate>Thu, 31 Aug 2006 13:00:20 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Enable/Disable Controls...</title><link>http://forum.strataframe.net/FindPost2604.aspx</link><description>Got it. Thanks. and last question... I hope... ;-)... do I need to uninstall StrataFrame to install the newer version?</description><pubDate>Thu, 31 Aug 2006 12:58:06 GMT</pubDate><dc:creator>StarkMike</dc:creator></item><item><title>RE: Enable/Disable Controls...</title><link>http://forum.strataframe.net/FindPost2602.aspx</link><description>We give you the source code to the DevEx wrapper, so you can move forward even if we do not.&amp;nbsp; We will keep up as well, but at times, like now, we may lag behind what you are wanting to do.&amp;nbsp; We have users that have already changed the source and the references to 6.2 without us and are using those versions as we speak.&amp;nbsp; So we will ultimately update the wrapper and send it out, but you have the ability to do this yourself since you have the source.</description><pubDate>Thu, 31 Aug 2006 12:54:27 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Enable/Disable Controls...</title><link>http://forum.strataframe.net/FindPost2601.aspx</link><description>Ok, Thanks Trent. I'm running version 6.1.3 of DevExpress so I'm downloading 6.1.5 right now and I'm downloading the StrataFrame Framework for DevExpress 6.1.5. &lt;/P&gt;&lt;P&gt;How do you guys see this working from here on out? What I mean is... DevExpress has another update/version to their DXperience product... which is what I use.&amp;nbsp; Should we wait to update until you have your framework updated or how is that going to work?</description><pubDate>Thu, 31 Aug 2006 12:51:49 GMT</pubDate><dc:creator>StarkMike</dc:creator></item><item><title>RE: Enable/Disable Controls...</title><link>http://forum.strataframe.net/FindPost2599.aspx</link><description>It is more than stable.&amp;nbsp; We have customers releasing product (including oursleves) on this release.&amp;nbsp; We just never moving it into a "final release" because we continued adding so much functionality we decided to just release the final as the 1.5 release, which will be September 22, 2006.&amp;nbsp; I recommend running on this release.</description><pubDate>Thu, 31 Aug 2006 12:35:11 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Enable/Disable Controls...</title><link>http://forum.strataframe.net/FindPost2598.aspx</link><description>I dont have 'Application Framework 1.4.1 Pre-release' installed... do I need to do that to make all this work? I have StrataFrame 1.4.0 installed and I have DevExpress 6.1 installed but not 1.4.1. &lt;/P&gt;&lt;P&gt;And if so.... I notice that it is a pre-release... is it a stable build?</description><pubDate>Thu, 31 Aug 2006 12:31:03 GMT</pubDate><dc:creator>StarkMike</dc:creator></item><item><title>RE: Enable/Disable Controls...</title><link>http://forum.strataframe.net/FindPost2593.aspx</link><description>If you don't see the CalcEdit control within the StrataFrame Inherited Controls toolbox tab (or you don't see the StrataFrame Inherited Controls toolbox tab at all), you can create or recreate the toolbox tab through the StrataFrame menu... the Create Toolbox Tab property will re-create both the StrataFrame Controls &amp;amp; Components tab and the StrataFrame Inherited Controls tab.</description><pubDate>Thu, 31 Aug 2006 10:56:37 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Enable/Disable Controls...</title><link>http://forum.strataframe.net/FindPost2591.aspx</link><description>What I meant by "inherited" is that I tested the MicroFour.StrataFrame.UI.Windows.Forms.DevEx.CalcEdit control... it is a control that inherits from the standard DevExpress CalcEdit control and implements the IgnoreManageUIReadOnly state property... so, if you don't have that property, then you most likely aren't using the inherited CalcEdit control, but the basic CalcEdit control, which doesn't support the management of the editing state by the business object.&lt;/P&gt;&lt;P&gt;So, just make sure you'e using the correct control.</description><pubDate>Thu, 31 Aug 2006 10:42:03 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Enable/Disable Controls...</title><link>http://forum.strataframe.net/FindPost2589.aspx</link><description>Ok I looked again and didnt see it.&amp;nbsp; Attached is a screen shot of the properties for my CalcEdit.&amp;nbsp; My CalcEdit control is from DevExpress and I didnt see a StrataFrame one.&lt;P&gt;Thanks</description><pubDate>Thu, 31 Aug 2006 10:23:44 GMT</pubDate><dc:creator>StarkMike</dc:creator></item><item><title>RE: Enable/Disable Controls...</title><link>http://forum.strataframe.net/FindPost2588.aspx</link><description>He meant to say "used" not inherited.&amp;nbsp; I just tested this and it is working.&amp;nbsp; So you more than likely have the IgnoreManageReadonlyState property set to True and it needs to be set to False.&amp;nbsp; See the property sheet image below.&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/862c7910-5df0-4032-b4b7-6be2.jpg"&gt;</description><pubDate>Thu, 31 Aug 2006 10:13:39 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Enable/Disable Controls...</title><link>http://forum.strataframe.net/FindPost2581.aspx</link><description>&lt;TABLE cellSpacing=0 cellPadding=0 width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class=smalltxt vAlign=top&gt;&lt;SPAN id=_ctl1__ctl0_ctlTopic__ctl0_ctlPanelBar_ctlTopicsRepeater__ctl7_lblFullMessage&gt;I just tested an inherited CalcEdit control bound to a business object and it was disabled and endabled properly... you might check both the control and the business object to make sure the IgnoreManageUIReadOnly state property and the ManageUIReadOnlyState property are False and True respectively.&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;I checked the BO and the ManageUIReadOnlyState property was set to True. I checked the CalcEdit control and couldn't find the IgnoreManageUIReadOnly state property. What do you mean inherited?</description><pubDate>Thu, 31 Aug 2006 07:24:27 GMT</pubDate><dc:creator>StarkMike</dc:creator></item><item><title>RE: Enable/Disable Controls...</title><link>http://forum.strataframe.net/FindPost2565.aspx</link><description>I just tested an inherited CalcEdit control bound to a business object and it was disabled and endabled properly... you might check both the control and the business object to make sure the IgnoreManageUIReadOnly state property and the ManageUIReadOnlyState property are False and True respectively.</description><pubDate>Wed, 30 Aug 2006 18:53:08 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Enable/Disable Controls...</title><link>http://forum.strataframe.net/FindPost2549.aspx</link><description>I have a DevExpress calc edit control bound to the BO and it doesnt appear that the BO is managing the calc edit's editable state. Any ideas?</description><pubDate>Wed, 30 Aug 2006 07:10:11 GMT</pubDate><dc:creator>StarkMike</dc:creator></item><item><title>RE: Enable/Disable Controls...</title><link>http://forum.strataframe.net/FindPost1272.aspx</link><description>Yeah, but now they can be aware... nice forum... :D</description><pubDate>Wed, 24 May 2006 22:52:46 GMT</pubDate><dc:creator>Ricardo Quartier</dc:creator></item><item><title>RE: Enable/Disable Controls...</title><link>http://forum.strataframe.net/FindPost1239.aspx</link><description>No problem Ricardo.&amp;nbsp; That property is very useful, but many people don't know it's there.</description><pubDate>Thu, 18 May 2006 08:40:02 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Enable/Disable Controls...</title><link>http://forum.strataframe.net/FindPost1237.aspx</link><description>IgnoreManageUIReadOnlyState, this is great cause I have a list box on a form, and since it's disable, I cannot scrool down, until i hit the edit button.... Now it will works.. thanks....</description><pubDate>Wed, 17 May 2006 23:21:08 GMT</pubDate><dc:creator>Ricardo Quartier</dc:creator></item><item><title>RE: Enable/Disable Controls...</title><link>http://forum.strataframe.net/FindPost1175.aspx</link><description>The controls are disabled because the business object control's their editable state.&amp;nbsp; This functionality works on other forms as well, as long as the controls are bound to the business object.&amp;nbsp; So, bind the controls you want to disable to the business object, and when you make your selection within the first combo box, call Edit() on the business object, which will enable the controls.&amp;nbsp; &lt;/P&gt;&lt;P&gt;FYI, if you ever need to disable that functionality, you can set the IgnoreManageUIReadOnlyState property to True on the control(s) you want to ignore the business object.&amp;nbsp; You can also set the property on the business object itself, which will cause the business object to quit managing all of its bound controls.</description><pubDate>Tue, 09 May 2006 13:56:43 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item></channel></rss>