GarySB
asked on
Setting NumericUpDown to Read Only has no effect.
I need to keep the NumericUpDown control set to enabled for visual purposes and I have set the readonly property to true. It still changes the value. A msgbox appears since I am able to test for the ReadOnly property being true and I exist the ValueChanged procedure, but it still changes the value. How can I prevent this?
VB Express 2008
VB Express 2008
ASKER
Thank You, but I was not able to apply it. Unless a reasonable amount of code can be found I will have to change my contorls to a label which I wanted to avoid.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
It Works Great!!! Thank You
I have overwritten many controls (but not the NumericUpDown) to set the wanted colors when controls are disabled.