G
Guest
I am using Visual Studio 2005 to develop a Windows Application using Visual
Basic. I have added a MaskedTextBox to one of my forms and am trying to check
it for changes.
There is a property called MaskedTextBox.Modified that is suppose to return
'True' if the controls contents have been modified. Property doesn't seem to
be working because no matter how much data I type (not programmically set)
into the maskedtextbox it always returns 'False'.
I found a single reference to this problem using a google search and the guy
basically said the 'Modified' property only works if you do not set the
'Mask' property of the MaskedTextBox, which seems like a bug since you
wouldn't use a maskedtextbox if you didn't want to use a mask.
I would love some insight or feedback if possible and I've included the link
to the msdn description of this property below:
http://msdn2.microsoft.com/en-us/library/system.windows.forms.textboxbase.modified.aspx
Basic. I have added a MaskedTextBox to one of my forms and am trying to check
it for changes.
There is a property called MaskedTextBox.Modified that is suppose to return
'True' if the controls contents have been modified. Property doesn't seem to
be working because no matter how much data I type (not programmically set)
into the maskedtextbox it always returns 'False'.
I found a single reference to this problem using a google search and the guy
basically said the 'Modified' property only works if you do not set the
'Mask' property of the MaskedTextBox, which seems like a bug since you
wouldn't use a maskedtextbox if you didn't want to use a mask.
I would love some insight or feedback if possible and I've included the link
to the msdn description of this property below:
http://msdn2.microsoft.com/en-us/library/system.windows.forms.textboxbase.modified.aspx