Examples Delphi

Question:
How do I specify an overlay image for a node in a treeview?
Answer:
You have to call TImageList.Overlay first. Example:
ImageList1.Overlay(Image_Index, Overlay_Index);
TreeView1.Items[Item_Index].OverlayIndex := Overlay_Index;