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

TButtonGlyph.OnChange

Event handler for a change in the glyph.

Declaration

Source position: buttons.pp line 143

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

Description

OnChange is a TNotifyEvent property that represents an event handler signalled when the image used in the Glyph property is altered. OnChange is signalled from the DoChange method, and occurs after Glyph has been loaded using resources 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 existing list of images available for use in the Glyph property.

TButtonGlyph.Refresh

  

Updates the button glyph after changes to property values.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.