[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'ComCtrls' (#lcl)

TToolBarOnPaintButton

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

Declaration

Source position: comctrls.pp line 2235

type 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

TToolButton.Paint

  

Draws the tool bar button to the Canvas for the control.

TToolBar.OnPaintButton

  

Event handler signalled to draw a button on the tool bar.


Version 3.2 Generated 2024-02-25 Home