Home > Language Reference > Classes > Display

Flush Method

Empties the graphics instruction buffer.

Syntax

Public Sub Flush()

Remarks

The Flush method empties the graphics instructions buffer by executing all the enqueued instructions. You must call this method to actually carry out all the drawing operations on a Display object.

Calls to this method can sometimes be implicit. It is automatically invoked when returning from a Paint event handler, as well as when calling the CopyArea, Polygon and TextOut methods.

Note: objects derived from the Control class share their graphics instruction buffer with the Form object on which they are placed. Refer to the Display object introduction page for more information.

System requirements

SystemMinimal versionRemarks
Palm OSPalm OS 3.0N/A