TBasedxReportLink.DrawCheckBox(TCanvas,TRect,Boolean,Boolean,Boolean,TdxCheckButtonEdgeStyle,TColor) Method
Draws a check box item in a report.
Declaration
procedure DrawCheckBox(Canvas: TCanvas; var R: TRect; Checked: Boolean; Enabled: Boolean; IsRadio: Boolean; EdgeStyle: TdxCheckButtonEdgeStyle; BorderColor: TColor = clWindowText); overload; virtual;
Parameters
Name | Type |
---|---|
Canvas | TCanvas |
R | TRect |
Checked | Boolean |
Enabled | Boolean |
IsRadio | Boolean |
EdgeStyle | TdxCheckButtonEdgeStyle |
BorderColor | TColor |
Remarks
This method is designed for drawing a check box on a report’s surface. Call this method when custom painting a report.
Parameter | Meaning |
---|---|
Canvas | Determines the drawing surface. Pass the report link’s Renderer.Canvas property to the parameter. |
R | Specifies the bound rectangle for drawing. |
Checked | Specifies whether the drawn check box is checked (True). |
Enabled | Specifies whether the drawn check box is enabled (True). |
FlatBorder | Specifies whether the drawn check box has a flat border (True). |
See Also