TTMSFNCWidgetLEDBarBeforeDrawLedEvent Event Type
Event type fired before an individual LED is drawn, allowing custom rendering or suppression of the default drawing.
API unit family: TMSFNCWidgetLEDBar
Parameters
| Name | Description |
|---|---|
Sender |
The LED bar control that raised the event. |
AGraphics |
The graphics surface to draw on. |
ARect |
The rectangle that bounds the LED being drawn. |
AIndex |
The zero-based index of the LED being drawn. |
ADefaultDraw |
Set to False in the handler to suppress the built-in drawing of this LED; leave it True to keep the default rendering. |