RAD Studio VCL Reference
|
TPaintBox provides a canvas that applications can use for rendering an image.
TPaintBox = class(TGraphicControl);
class TPaintBox : public TGraphicControl;
ExtCtrls
Use TPaintBox to add custom images to a form. Unlike TImage, which displays an image that is stored in a bitmap, icon, or metafile, TPaintBox requires an application to draw the image directly on a canvas. Use the OnPaint event handler to draw on the paint box's Canvas, the drawing surface of the paint box.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|