﻿<?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?)  » How to change disabled forecolor</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Wed, 27 May 2026 13:52:22 GMT</lastBuildDate><ttl>20</ttl><item><title>How to change disabled forecolor</title><link>http://forum.strataframe.net/FindPost9439.aspx</link><description>I'm using the ManagedReadOnlyState functionality on my forms and it works great, except some users find it difficult to read the text when in readonly mode.&amp;nbsp;&amp;nbsp;I want to change the forecolor of the disabled controls (text)&amp;nbsp;to be the same as the enabled controls.&amp;nbsp; The background color is fine, I just want the text to be the same color regardless what mode you are in.&lt;/P&gt;&lt;P&gt;What is the easiest way to accomplish this?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Tim</description><pubDate>Thu, 19 Jul 2007 16:00:01 GMT</pubDate><dc:creator>Tim Dol</dc:creator></item><item><title>RE: How to change disabled forecolor</title><link>http://forum.strataframe.net/FindPost10470.aspx</link><description>I have only given that feature, as it is in beta, to a few developers.&amp;nbsp; The textbox has been changed but we still need to&amp;nbsp;add functionality to&amp;nbsp;the combo and masked textbox.&amp;nbsp; So it never made it into the official 1.6.1 release.&amp;nbsp;</description><pubDate>Thu, 19 Jul 2007 16:00:01 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: How to change disabled forecolor</title><link>http://forum.strataframe.net/FindPost10467.aspx</link><description>Trent,&lt;br&gt;
&lt;br&gt;
Has the ability to change the disabled forecolor of the textboxes been added to 1.6.1 as you stated in this thread? I would like to change the forecolor and I am using 1.6.1 but I don't find any way of doing this.&lt;br&gt;
&lt;br&gt;
Thanks,</description><pubDate>Thu, 19 Jul 2007 14:54:56 GMT</pubDate><dc:creator>Jerry J Jansen</dc:creator></item><item><title>RE: How to change disabled forecolor</title><link>http://forum.strataframe.net/FindPost9446.aspx</link><description>You could change the Infragistics wrapper code.&amp;nbsp; The IBusinessBindable interface forces a property named BindingEditable to be implemented on the control.&amp;nbsp; At the moment, the Infragistics wrapper just sets the enabled state of the control.&amp;nbsp; You can add the code here to change the disabled color as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [codesnippet]Public Property BindingEditable() As Boolean Implements IBusinessBindable.BindingEditable&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Get&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Return Me.Enabled&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Get&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set(ByVal value As Boolean)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Me.Enabled = value&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If Not value Then&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '-- Set the disabled color text here&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Set&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Property[/codesnippet]</description><pubDate>Fri, 08 Jun 2007 14:56:01 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: How to change disabled forecolor</title><link>http://forum.strataframe.net/FindPost9442.aspx</link><description>I am using Infragistic Controls, but I was wondering if there&amp;nbsp;is some easy way to do this within StrataFrame without having to manually change the property of each control.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Tim</description><pubDate>Fri, 08 Jun 2007 13:45:45 GMT</pubDate><dc:creator>Tim Dol</dc:creator></item><item><title>RE: How to change disabled forecolor</title><link>http://forum.strataframe.net/FindPost9441.aspx</link><description>If you are using the SF controls then you will need to just wait until the 1.6.1 release is final as you can change the disabled background color and fore color of the text.&amp;nbsp; If you are using Infragistics text boxes then it should already respect the disabled text color.</description><pubDate>Fri, 08 Jun 2007 13:39:45 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>