TCustomPaintBox32 is a common ancestor for TPaintBox32 and TCustomImage32 objects.
In addition to properties, inherited from TCustomControl, it provides optimized double buffering. The back buffer is a TBitmap32 object, which stores an image data before flushing it to the screen.
Since TCustomPaintBox32 is double buffered, there is no need to redraw its contents every time the control receives WM_PAINT message, as with standard TPaintBox. The repainting is still required when the control is resized.
Methods | Properties | Events |
---|---|---|
Destroy | Buffer | OnMouseEnter |
DoPaintBuffer | BufferOversize | OnMouseLeave |
Flush | BufferValid | |
ForceFullInvalidate | Options | |
GetViewportRect | RepaintMode | |
Invalidate | ||
Loaded | ||
Resize | ||
SetBounds |
TBitmap32, TCustomImage32, TPaintBox32
Copyright ©2000-2024 Alex Denisov and the Graphics32 Team - Graphics32 2.0 - Help file built on 18 Feb 2024