StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



InputMask ... loved you so much.Expand / Collapse
Author
Message
Posted 09/10/2006 4:52:27 PM


Advanced StrataFrame User

Advanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced 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

Post #2716
Posted 09/10/2006 4:58:50 PM


Advanced StrataFrame User

Advanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced 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")
Post #2717
Posted 09/11/2006 10:54:01 AM


StrataFrame Developer

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
Post #2731
Posted 09/11/2006 11:28:19 AM


Advanced StrataFrame User

Advanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced 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.
Post #2732
Posted 09/11/2006 11:31:45 AM


StrataFrame Developer

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
Post #2733
Posted 09/11/2006 11:32:16 AM


Advanced StrataFrame User

Advanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced 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.
Post #2734
Posted 09/11/2006 11:33:48 AM


Advanced StrataFrame User

Advanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame User

Group: StrataFrame Users
Last Login: Today @ 3:44:43 PM
Posts: 627, Visits: 10,881
Thanks Ben.
Post #2735
Posted 09/12/2006 8:12:25 AM


StrataFrame Developer

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
Post #2749
Posted 09/12/2006 10:25:10 AM


Advanced StrataFrame User

Advanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced 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.

Post #2750
« Prev Topic | Next Topic »


Reading This Topic