-
Masked data entry.
I need to have a mask for entry numbers in format: ##-####-##. Which control can be used to implement this in VB.Net. Or may be it can be done in a text box? It is necessary to display the mask when the control receives focus, and automatically move cursor to the next group of digits: for example
33-0___-__. I tried to use a Mask Edit control, but in VB.Net I was unable to change its background colour property at runtime.
-
I don't know of any other contol that ships with .NET that can achieve this. I use the Masked edit control in several apps but have not once tried to change the BackColor property. I'm having the same problem as you when attempting to change it at runtime. Even when I set it at design time it continues to display white when running the app. The ironic thing is that Microsoft shows code to do this in the Masked Edit Contorol example. Anyone have any ideas on this?