API:Vcl.ImgList.TChangeLink

From RAD Studio API Documentation
Jump to: navigation, search

System.ImageList.TImageLinkSystem.TObjectTChangeLink

Delphi

TChangeLink = class(TImageLink)

C++

class PASCALIMPLEMENTATION TChangeLink : public System::Imagelist::TImageLink

Properties

Type Visibility Source Unit Parent
class public
Vcl.ImgList.pas
Vcl.ImgList.hpp
Vcl.ImgList Vcl.ImgList

Description

The base class for both FireMonkey and VCL image links. An image list uses TImageLink internally to notify components using the image list when changes are made to the image list.

Vcl.ImgList.TChangeLink inherits from System.ImageList.TImageLink. All content below this line refers to System.ImageList.TImageLink.

The base class for both FireMonkey and VCL image links. An image list uses TImageLink internally to notify components using the image list when changes are made to the image list.

The TBaseImageList component uses TImageLink to define which components to be notified about the image list changes. When Images, ImageIndex, or contents of TBaseImageList changes, the TImageLink.Change method is called.

Each TBaseImageList image list contains the Links property keeping TImageLink objects. When you set a TBaseImageList image list in the TImageLink.Images property, then a reference to this TImageLink object is added into the Links property. A descendant of TBaseImageList scans the TBaseImageList.Links array after any changes in the image list and executes the TImageLink.Change method for elements of this array.

See Also