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

Microsoft off it?

or I am wrong, it does work?

---Frank

Re: TextBox.paint not work? by Lloyd

Lloyd
Tue May 10 19:19:17 CDT 2005

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)

"Frank Lee" <Dont_Reply@hotmail.com> wrote in message
news:OQWLvpWVFHA.3868@TK2MSFTNGP14.phx.gbl...
> TextBox has an event named paint, however, it seems not work, right?
>
> Microsoft off it?
>
> or I am wrong, it does work?
>
> ---Frank
>