Главная страница | назад





Article #17326: Specify an overlay image for a node in a treeview

 Question and Answer Database
FAQ2326D.txt Specify an overlay image for a node in a treeview
Category :Miscellaneous
Platform :All
Product :Delphi 3.x
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;
7/16/98 4:31:28 PM

Last Modified: 01-SEP-99