PaintBox component
The PaintBox component provides a rectangular region that you can use to create custom form controls using the Windows API. Users never interact with it directly.
The onPaint and onFormSize events let you modify the appearance of the object based on user interaction.