Specifies an event handler signalled to draw a button on a tool bar with a given state.
Source position: comctrls.pp line 2249
type TToolBarOnPaintButton = procedure( |
Sender: TToolButton; |
State: Integer |
) of object; |
Sender |
|
Object (TToolButton instance) for the event notification. |
State |
|
Drawing state for the button. |
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.
|
Draws the tool bar button to the Canvas for the control. |
|
|
Event handler signalled to draw a button on the tool bar. |
CT Web help |
CodeTyphon Studio |