System.ImageList.TImageLink

From Appmethod Libraries
Jump to: navigation, search

System.TObjectTImageLink

Object Pascal

TImageLink = class

C++

class PASCALIMPLEMENTATION TImageLink : public System::TObject

Properties

Type Visibility Source Unit Parent
class public
System.ImageList.pas
System.ImageList.hpp
System.ImageList System.ImageList

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.

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