[Lazarus] Calling DrawFocusRect() outside the Paint() event

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Oct 10 13:31:45 CEST 2016


On Mon, 10 Oct 2016 11:56:32 +0100
Graeme Geldenhuys via Lazarus <lazarus at lists.lazarus-ide.org> wrote:

> On 2016-10-10 11:50, Michael Van Canneyt via Lazarus wrote:
> > I thought lazarus did double buffering by default, so this should be so automatically ?  
> 
> I don't believe LCL uses double buffering by default (for some reason or
> another). At least that is what I was told in the Lazarus Forums.

Widgetsets forbidding to paint outside OnPaint always use
double buffering.
Widgetsets that allow drawing outside give a choice.
For historical reasons TWinControl.DoubleBuffered defaults to false.

Mattias


More information about the Lazarus mailing list