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

# TButtonGlyph.OnChange

Event handler signalled when the bitmap in Glyph has been changed.

## Declaration

Source position: buttons.pp line 151

`public property TButtonGlyph.OnChange : TNotifyEvent read FOnChange write FOnChange;`

## Description

OnChange is a TNotifyEvent property with the event handler signalled when the image used in the Glyph property is changed. OnChange is signalled from the DoChange method, and occurs after Glyph has been loaded using the resource or image lists available to the class instance.

TButtonGlyph provides a default implementation for the event handler in its GlyphChanged method.

## See also

TButtonGlyph.GlyphChanged |  | Provides a default implementation for the OnChange event handler.
TButtonGlyph.Glyph |  | The bitmap image drawn as the glyph on the button.
TButtonGlyph.Images |  | The list of available images for the button glyph.
TButtonGlyph.ExternalImages |  | Contains a reference to an external list of images that can be used as the Glyph image,
TButtonGlyph.Refresh |  | Updates the button glyph after changes to property values.