Defines a transparent graphic control class. The control provides a base class for simple, lightweight, transparent, controls that do not need the ability to accept keyboard input or contain other controls. Since lightweight controls do not wrap Windows screen objects, they are faster and user fewer resources than controls based on TWinControl.
TRSCustomTransparentGraphicControl provides a Canvas property for access to the control's drawing surface and a virtual Paint method called in response to paint requests received by the parent control.
Namespace: RSGdiPlusCtrls
Delphi
|
type
[ComponentPlatformsAttribute(pidRS_WINDOWS_SUPPORT)]
TRSCustomTransparentGraphicControl = class(TGraphicControl)
end;
|
|
Name
|
Description
|
|
Canvas
|
Represents property Canvas.
|
|
InterceptMouse
|
Determines whether mouse clicks should be detected for the control
|
|
OnPaint
|
Occurs when painting of the control is complete
|
|
OnPainting
|
Occurs when painting of the control is starting
|
Top
|
|
Name
|
Description
|
|
CreateGdiPCanvas
|
Creates a GDI+ canvas for the control. The calling routine is responsible for freeing the GDI+ canvas
|
|
DoPaint
|
Override this method to paint the control
|
|
DoPainted
|
Occurs just after painting. Calls the OnPaint event
|
|
DoPainting
|
Occurs just before painting. Calls the OnPainting event
|
|
Paint
|
Represents method Paint.
|
Top
|