Resize

Graphics32

TCustomPaintBox32.Resize

procedure Resize; override;

Description

Resize is overriden from TWinControl. It keeps the size of the buffer consistent with control's dimensions after the control resizes. Normally, you will not call this method in your applications.

Whether the buffer is actually resized or not is influenced by the BufferOversize property.

Resizing of the control will also invalidate its buffer.

Resize generates the standard OnResize event as well.

See Also

BufferOversize