AutoRepaint property (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

bool AutoRepaint

Delphi Syntax

AutoRepaint: Boolean

Overview

Refer to Displaying an Image.

Remarks

(Persistent property, available at design time) Enables automatic repainting of the bitmap.

When this property is TRUE, any change in the bitmap causes the bitmap to repaint. At run time, you can set the property to FALSE temporarily to change more than one property before repainting. Alternatively, you can use the ForceRepaint method to control repainting.

Setting

Description

TRUE

Enables automatic repainting of the bitmap.

FALSE

Disables automatic repainting of the bitmap.

See Also

Elements:

ForceRepaint method, PaintRgnOnly property, RepaintRect method

Topics:

Raster Images: Displaying Images