Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checkbox ReadOnly?
Message
 
General information
Forum:
ASP.NET
Category:
Forms
Miscellaneous
Thread ID:
00870633
Message ID:
00870700
Views:
12
In VB6 days, we used to place these controls into a borederless frame and handling the Enabled property of this frame to have these controls locked or not! Maybe this can work in VB.Net too. The best thing would be to create your own user Checkbox control that inherits the existing one in which you would add this property (readonly).


>I ran into the same thing awhile back...unless there's something I'm not aware of, checkboxes, datetime controls, and combo boxes don't have a readonly property. They have enabled, but not readonly.
>
>This was a bit irritating to me, because the background color (when disabled) is that yucky gray, and you can't change it.
>
>Kevin
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform