[Lazarus] PageControl vs NoteBook vs TabControl

Graeme Geldenhuys graemeg.lists at gmail.com
Thu Mar 4 15:02:53 CET 2010


On Wed, Mar 3, 2010 at 22:51, JoshyFun <joshyfun at 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




More information about the Lazarus mailing list