TextBox.paint not work?

  • Thread starter Thread starter Frank Lee
  • Start date Start date
F

Frank Lee

TextBox has an event named paint, however, it seems not work, right?

Microsoft off it?

or I am wrong, it does work?

---Frank
 
the event does get fired, but the painting is done after it.
if you try to paint something on top of the text bow, that's the wrong
place......
try override OnPaint() instead.

As an additional information if you try to emulate som print behavior by
calling OnPaint() your self with a custom Graphics object (to a Bitmap, for
example), it fails... (at least last time I try with teh compact framework)
 

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