EControl Syntax Editor SDK
TSingleButtonSyntaxEdit.DoubleBuffered Property

Determines whether the controlís image is rendered directly to the window or painted to an in-memory bitmap first.

property DoubleBuffered;

When DoubleBuffered is false, the windowed control paints itself directly to the window. When DoubleBuffered is true, the windowed control paints itself to an in-memory bitmap that is then used to paint the window. Double buffering reduces the amount of flicker when the control repaints, but is more memory intensive. 


When a windowed control is a dock site and has an associated dock manager, it must be double-buffered. 


Note: Some controls, such as TRichEdit, canít paint themselves into a bitmap. For such controls, DoubleBuffered must be set to false. 

Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!