I have come across a need to modify the textbox control (i.e. add colored borders and a gradient background). I have a seen a couple of example on how to modify the border color which consist of creating a new usercontrol, adding a textbox and manually drawing a border.
I would prefer however to inherit from the textbox control and simply override the drawing functions. Does anybody know how I could achieve this? I have tried overriding OnPaint and OnPaintBackground but nothing seems to happen?
I would prefer however to inherit from the textbox control and simply override the drawing functions. Does anybody know how I could achieve this? I have tried overriding OnPaint and OnPaintBackground but nothing seems to happen?