[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'Controls' (#lcl)

# TWinControl.ParentDoubleBuffered

Value for the DoubleBuffered property in a Parent control.

## Declaration

Source position: controls.pp line 2354

`public property TWinControl.ParentDoubleBuffered : Boolean read FParentDoubleBuffered write SetParentDoubleBuffered default True;`

## Description

ParentDoubleBuffered is a Boolean property which indicates the value for the DoubleBuffered property in the Parent control. The default value for the property is True. Changing the value for the property causes a CM_PARENTDOUBLEBUFFEREDCHANGED message to be performed (for the control) when Parent has been assigned.

To disable double buffering for a single control, make sure both DoubleBuffered and ParentDoubleBuffered are set to False.

Double buffering is a technique used to reduce screen flicker when controls are redrawn. It uses an additional off-screen buffer to perform drawing operations, and transfers the content to the on-screen buffer when completed.

DoubleBuffered and ParentDoubleBuffered are implemented for the Win32 platform/widgetset. It is implemented for TWinControl (and descendants) and TApplication. In TApplication, the setting is applied to all forms and controls when assigned before the forms and controls are created.

## See also

TWinControl.DoubleBuffered |  | When enabled, it reduces flicker when the control is painted.
TControl.Parent |  | The control within which the control is shown.