Unit 'ImgList' Package
[Overview][Types][Classes][Procedures and functions][Index] [#lcl]

TCustomImageList.OnChange

Event handler signalled when one or more of the images in the image list has been changed.

Declaration

Source position: imglist.pp line 427

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

Description

OnChange is a TNotifyEvent property with the event handler signalled when one or more of the image(s) in the list have been changed. It is signalled (when assigned) from the Change method, and occurs when methods which modify the images in the list are called. This includes methods like: Add, Clear, Delete, Move, ReadData, and ReadAdvData. It is called from the EndUpdate method when the update count for the control reaches 1. It is also called when the value in the BkColor property has been changed and the images in the list are updated.

Version info

Added in LCL version 5.0.

See also

TCustomImageList.Add

  

Adds an image to the list using its source data and optional mask.

TCustomImageList.Assign

  

Stores properties from the specified image list to the current class instance.

TCustomImageList.BkColor

  

Specifies the background color used for transparent parts of images.

TCustomImageList.Change

  

Sends change notifications when the image list is updated.

TCustomImageList.Clear

  

Removes all images store in the image list.

TCustomImageList.Delete

  

Deletes the image at the specified position from all image resolutions.

TCustomImageList.EndUpdate

  

Finishes an update to the image list, and calls Change.

TCustomImageList.Move

  

Moves an image from the position at CurIndex to NewIndex.

TCustomImageList.ReadAdvData

  

Reads the image content for multiple resolutions from a stream.

TCustomImageList.ReadData

  

Reads image data for the default resolution from a stream.