On Wed, Mar 3, 2010 at 22:51, JoshyFun <joshy...@gmail.com> wrote: > Hello Lazarus-List, > > Wednesday, March 3, 2010, 2:31:07 AM, you wrote: > > G> Le Mardi 02 Mars 2010 23:06:09, Alexander Klenin a écrit : >>> Do you mean zoom rectangle is not drawn for you? >>> I can't reproduce that. > > G> Exactly. I'm using Qt. After some test there's no bug when using GTK widget > G> set. This happen with Qt but I can't test something else than GTK and Qt. > > I'm not using TChart but if the TChart is trying to draw a focus rect > or similar over a bitmap without using the bitmap itself it is not > working in QT. I have the same problem in a program that uses > drawfocusrect to paint a box selection over a bitmap, but painting > over the control, not inside the bitmap.
Yes, TChart do draw over the control from MouseMove event. However, there is no "bitmap" for TChart, it is a TCustomControl descendant. Does that mean that I have to call Invalidate from inside MouseMove to repaint the chart every time? That would have serious performance impact. -- Alexander S. Klenin -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus