Hi Terry,
One approach is to handle the click event of the checkbox. In the click event, determine if you want the user to be able to change the state.
Private Sub CheckBox_Click(ByVal sender As Object, ByVal e As System.EventArgs)
Dim Obj As CheckBox = CType(sender, CheckBox)
Obj.Checked = Not Obj.Checked
End Sub
>In a winform, how can a checkbox be set to readonly without being disabled?
>
>Thanks in Advance,
>
>Terry Carroll
-----------------------------------------
Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.comwww.prenia.comWeblog: blogs.prenia.com/cathi