TToolBar.OnPaintButton property
Event handler signalled to draw a button on the tool bar.
Declaration
property OnPaintButton: TToolBarOnPaintButton read FOnPaintButton write FOnPaintButton;Description
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.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
