R
Rob W
Greetings,
I'm developing an application for people with less than perfect eyesight ,
thus I'm ensuring all controls are clearly visible with the problem being
the checkbox.
I quickly discovered the size property relates to the container housing the
checkbox and optional text.
I then when to examine the checkbox properties from the Form1.Designer.vb
and couldn't see anything related to the checkbox.
I then thought about adding a custom control, never done this before ..
My code below (bottom of post), which well doesn't do anything.
Can anybody provide me with some pointers to help me in drawing my own
cusomised checkbox that is much bigger than original?
Thanks
Rob
Public Class BiggerCheckBox
Inherits CheckBox
Protected Overrides Sub OnPaint( _
ByVal pevent As System.Windows.Forms.PaintEventArgs)
MyBase.OnPaint(e)
'Draw checkbox
End Sub
End Class
I'm developing an application for people with less than perfect eyesight ,
thus I'm ensuring all controls are clearly visible with the problem being
the checkbox.
I quickly discovered the size property relates to the container housing the
checkbox and optional text.
I then when to examine the checkbox properties from the Form1.Designer.vb
and couldn't see anything related to the checkbox.
I then thought about adding a custom control, never done this before ..
My code below (bottom of post), which well doesn't do anything.
Can anybody provide me with some pointers to help me in drawing my own
cusomised checkbox that is much bigger than original?
Thanks
Rob
Public Class BiggerCheckBox
Inherits CheckBox
Protected Overrides Sub OnPaint( _
ByVal pevent As System.Windows.Forms.PaintEventArgs)
MyBase.OnPaint(e)
'Draw checkbox
End Sub
End Class