by the look of the question, and the MouseEnter and MouseLeave events, im guessing your using WPF?
On Mon, Nov 3, 2008 at 4:18 AM, Muhammad ali ilyas <[EMAIL PROTECTED]>wrote: > Could you share the code with us in order to alleviate the problem > > > On 11/1/08, Chuck <[EMAIL PROTECTED]> wrote: >> >> >> 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. >> > >
