TTMSFNCCustomRangeSliderBeforeDrawThumbEvent Event Type
Event fired before a thumb is drawn, allowing custom rendering or suppression.
API unit family: TMSFNCRangeSlider
Parameters
| Name | Description |
|---|---|
Sender |
Range slider that fired the event. |
AGraphics |
Graphics context used for rendering. |
ARect |
Bounding rectangle of the thumb. |
AValue |
Current value represented by the thumb. |
ALeft |
True when the left thumb is being drawn; False for the right thumb. |
AAllow |
Set to False to suppress the entire draw call. |
ADefaultDraw |
Set to False to suppress the default drawing while keeping the event active. |