Is it possible to draw on a textbox? I've got an application I'm designing for user input. It has a lot of textboxes, and I'd like to be able to draw a label for each textbox inside the textbox (on the bottom). I started doing this with a custom control, and while I'm really happy with the drawing portion, it's taking a lot of work to handle everything the textbox control already does.
What I want to do is just take the bottom 1/3rd of a textbox, use it for drawing only, draw the label name, restrict the textbox from displaying its text there, and restrict the caret from displaying in this bottom 1/3rd section.
I've searched textbox draw on here and Google, but am not finding a whole lot. I think I'm thinking of listviews or something, but I was hoping I can do this with textboxes also. Does anyone know if this is possible and what I need to research to make it happen?
Thanks!
-John
What I want to do is just take the bottom 1/3rd of a textbox, use it for drawing only, draw the label name, restrict the textbox from displaying its text there, and restrict the caret from displaying in this bottom 1/3rd section.
Code:
/--------------------\ | | | | | name | \--------------------/
Thanks!
-John
Comment