StrataFrame Forum

InputMask ... loved you so much.

http://forum.strataframe.net/Topic2716.aspx

By Ivan George Borges - 9/10/2006

Right, I won't ask why there isn't simply an InputMask property in a TextBox.

Tried the MaskedTextBox, just to find out the thing finds it's so important that has a different BackColour. Then I found out there isn't a BackColour property to be changed.

Is there a way to create an InputMask property in a plain TextBox ?

TIA

By Ivan George Borges - 9/10/2006

(sorry, when I said "there isn't a BackColour" to be changed, I meant a "Disabled BackColour")
By StrataFrame Team - 9/11/2006

I don't think the regular textbox has a DisabledBackColor property.  What we did was override the backcolor of the text box so that when the control is disabled, it stays white, making the text easier to read.

The only controls that have a separete enabled/disabled property for the back color are DevEx and Infragistics controls.

By Ivan George Borges - 9/11/2006

That's right, there isn't a DisableBackColor ... but the MaskedTextBox shows a different back color from the regular TextBox when they are disabled. This is what I'm trying to avoid.
By StrataFrame Team - 9/11/2006

Aha, I will check with Trent to see if the MaskedTextBox has been changed to operate the same way as the TextBox.  I'll let you know.
By Ivan George Borges - 9/11/2006

So I guess I just have to find out how to override the MaskedTextBox back color, right ? I want it white as the regular TextBoxes.
By Ivan George Borges - 9/11/2006

Thanks Ben.
By StrataFrame Team - 9/12/2006

Ivan,

We changed the MaskedTextBox to act the same way that the TextBox does... the changes will be included in the 1.5 release scheduled for Sept 22.

By Ivan George Borges - 9/12/2006

You guys are really spoiling us.

Thanks a lot.