From RAD Studio API Documentation
Jump to: navigation, search



TChangeLink = class(TImageLink)


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


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


The TImageList component uses TChangeLink internally to notify other objects when changes are made to the image list.

A TImageList keeps a list of its TChangeLink objects. Each is associated with a particular component, such as a tree view or list view control. A component can register its change link with an image list by calling the image list's RegisterChanges method. Before destruction, the component should then call the UnRegisterChanges method.

Component writers can use the change link object to receive notification when changes are made to an image list that a control uses. Use the OnChange event of the change link to execute some code when the image list changes. For example, the tree view control uses a change link object to know when its image list has changed.

See Also