Textbox DrawText event?

  • Thread starter Thread starter Chris
  • Start date Start date
C

Chris

What event do I override to handle drawing the text in a textbox myself.
I have tried to use the OnPaint method, but it doesn't seem to effect
the drawing of the text.

Thanks
Chris
 
Hi,

Add this in sub new for your class

Me.SetStyle(ControlStyles.UserPaint, True)

Ken
---------------------
What event do I override to handle drawing the text in a textbox myself.
I have tried to use the OnPaint method, but it doesn't seem to effect
the drawing of the text.

Thanks
Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top