Sign in Join
FPDoc Onlineexperiment

TToolBarOnPaintButton procedure type

In unit ComCtrls

Specifies an event handler signalled to draw a button on a tool bar with a given state.

Declaration

pascal
TToolBarOnPaintButton = procedure(Sender: TToolButton; State: Integer)
 of object

Arguments

Sender

Object (TToolButton instance) for the event notification.

State

Drawing state for the button.

Description

TToolBarOnPaintButton is an object procedure type that specifies an event handler signalled to draw a button on a tool bar with a given state. TToolBarOnPaintButton is the type used for the OnPaintButton property in TToolBar.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.