| | | 
Advanced StrataFrame User
       
Group: StrataFrame Users Last Login: Today @ 3:44:43 PM Posts: 627, Visits: 10,881 |
| | 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 |
| | | | 
Advanced StrataFrame User
       
Group: StrataFrame Users Last Login: Today @ 3:44:43 PM Posts: 627, Visits: 10,881 |
| | (sorry, when I said "there isn't a BackColour" to be changed, I meant a "Disabled BackColour") |
| | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: 08/01/2008 8:53:41 AM Posts: 2,671, Visits: 1,879 |
| | 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.
www.bungie.net |
| | | | 
Advanced StrataFrame User
       
Group: StrataFrame Users Last Login: Today @ 3:44:43 PM Posts: 627, Visits: 10,881 |
| | 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. |
| | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: 08/01/2008 8:53:41 AM Posts: 2,671, Visits: 1,879 |
| 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.
www.bungie.net |
| | | | 
Advanced StrataFrame User
       
Group: StrataFrame Users Last Login: Today @ 3:44:43 PM Posts: 627, Visits: 10,881 |
| | 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. |
| | | | 
Advanced StrataFrame User
       
Group: StrataFrame Users Last Login: Today @ 3:44:43 PM Posts: 627, Visits: 10,881 |
| | | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: 08/01/2008 8:53:41 AM Posts: 2,671, Visits: 1,879 |
| | 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.
www.bungie.net |
| | | | 
Advanced StrataFrame User
       
Group: StrataFrame Users Last Login: Today @ 3:44:43 PM Posts: 627, Visits: 10,881 |
| | You guys are really spoiling us. Thanks a lot. |
| |
|
|