Switch your box to a multiline textbox, maybe?

On Oct 29, 10:32 am, Adam <[EMAIL PROTECTED]> wrote:
> I have encountered a bug that I can reproduce in a simple test
> application
> that is constructed entirely in the designer within Visual Studio
> 2005, with
> not one line of code written by me. Briefly, all the text in a TextBox
> disappears whenever the mouse cursor enters or leaves the box. I've
> only
> seen it under a very special set of conditions, summarized below. Has
> anyone
> else seen this?
>
> ======
>
> Details:
>
> All that is required is a TextBox with at least one ScrollBar.
>
>  If the scrollbar is missing, it works fine.
>  A work-around is to call TextBox.Invalidate() on MouseEnter and
> MouseLeave, but this solution is not entirely satisfactory.
>
> I would appreciate any help you can give me.

Reply via email to