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)
 
Back
Top