TdxCustomRangeControl.OnDrawScale Event
Enables you to custom paint the range control’s ruler.
Declaration
property OnDrawScale: TdxRangeControlClientDrawEvent read; write;
Remarks
This event is fired every time the range control’s ruler (or any of its scales) needs repainting.
The Sender parameter specifies the range control that raised the OnDrawScale event.
The ACanvas specifies the drawing surface.
The AViewInfo parameter is used to provide the data rane selection and visualization model-related ViewInfo information (an instance of the TdxRangeControlCustomClientViewInfo class descendant).
The AHandled parameter specifies whether default painting is required. Passing True as the AHandled parameter in the OnDrawScale event handler prevents the default ruler/scale(s) painting operation, allowing you to provide a custom painter for the ruler.
See Also