CookieMonster24
May 6th, 2003, 02:53 AM
I'm trying to change the backcolor of a maskedbox when a button is pressed, but i'm having problems. what i have right now is a form, a maskedbox, and a button. I was keeping things simple to see if it worked. My mask is "##/##/####". When the button is pressed i have code that looks like this:
maskedboxName.backcolor = System.Drawing.Color.Aqua
however, nothing happens. i even tried changing the forecolor and still nothing. changing the colors to textboxes are not a problem. Any suggestions?
I'm using visual studio .net 2002 if that helps.
maskedboxName.backcolor = System.Drawing.Color.Aqua
however, nothing happens. i even tried changing the forecolor and still nothing. changing the colors to textboxes are not a problem. Any suggestions?
I'm using visual studio .net 2002 if that helps.