When I set the .enabled property of a radio button to false the forecolor turns to this annoying turquoise looking color by default. How can I get the color to remain black?
I am using Visual Basic .NET 2003 Standard with Windows 2000 professional. This is the only machine I've tested it on so far. When a textbox is disabled the backcolor is changed making it less readable. Fortunately the RichTextBox can be used insted and I simply set the ReadOnly property to true. However as far as I know there isn't an equivilent substitute for a RadioButton. I simply want it to be uneditable is certain situations. That is why I started to monkey around with the .enabled property.
The autoclick property set to false will not allow the user to select the Radio Button but it will appear to be enabled. Is that what you are looking for?
The autoclick property pretty much did the trick. When clicked, the radio button "dot" doesn't get set but the control does appear to be selected with the dotted box around the text. That's potentially misleading to the user, but I am willing to allow it as opposed to completely disabling the control. Thanks for your research time Juice05.
When setting enabled to false on your controls, I have found that, depending on which desktop theme is used, the text for the controls is hard to read.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.