[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Event handler signalled to draw a button on the tool bar.
Source position: comctrls.pp line 2414
published property TToolBar.OnPaintButton : TToolBarOnPaintButton |
OnPaintButton is a TToolBarOnPaintButton property which contains the event handler signalled when one of the Buttons on the tool bar is drawn.
OnPaintButton is signalled (when assigned) from the Paint method in TToolButton, and is used instead of the default drawing routines for the tool button. The Sender argument contains the TToolButton instance for the event notification. It is assumed that the event handler handles all aspects of drawing the button on the tool bar using the theme element details passed as an argument.
|
Draws the tool bar button to the Canvas for the control. |
|
|
Draws the tool bar on the Canvas for the control. |
|
|
Event handler signalled when the Paint method is called for the control. |
|
|
Specifies an event handler signalled to draw a button on a tool bar with a given state. |
Version 4.0 | Generated 2025-05-03 | Home |